How to upload a theme to your HubSpot CMS Portal

How to upload a theme to your HubSpot CMS Portal

  • Home
  • Blog
  • How to upload a theme to your HubSpot CMS Portal

So you have the folder or zip for a theme that you like.

Wondering how to install?


Let me start by telling you what is a theme and what a good theme should have. A theme is a portable and contained collection of assets created by developers and they are designed in a way to enable the user with a flexible content editing experience. A good theme should be extremely flexible to meet the needs of your business.

HubSpot encourages all external themes created by partners or other developers to follow a certain standard hierarchy and file names. This makes the maintenance of the theme easier.

HubSpot ThemeA theme is a single directory of all the files which includes HTML, CSS, Javascript files or any other custom modules or scripts which complete a theme. The 2 files mandatory to build a theme are theme.json and fields.json. A typical theme folder hierarchy looks like this:

 

Theme file hierarchy

The other major item that defines a good theme are the theme modules. The theme modules should be designed & created specifically for that theme only. The modules should be flexible and easily editable when added on page.

Follow these steps below:

You will see the downloaded theme as a zip file.

In your portal, go to “Settings > Website > Themes”.

HubSpot Settings


The URL will look like this:

https://app.hubspot.com/settings/<your_portal_id>/website/themes


This page will display all current themes and will look like the screenshot below
Selecting theme in HubSpot

Click “Upload Theme” link in top right part of the page and upload your theme.

Uploading theme in HubSpot

It may take a few minutes for the theme to appear in your Design Tools area of the portal.and that’s it!

You can start using your theme.

After successful update, you can select this newly added theme as the default theme for new pages by going to “Marketing > Website > Website Pages > Create > Website Page”

Create page in HubSpot

Create Website page in HubSpot

Add page name while creating Website page in HubSpot

Here you will see a field called “Theme” with current selected theme.

Default theme in Hubspot while creating pages

Click on “Change Theme” to see the list of all installed themes and choose the latest one.

Changing theme while creating pages in HubSpot

 

There is another option if you are comfortable with HubSpot CLI. You can unzip the theme folder and use the hs upload command to upload the theme in following format:

hs upload --account=<name> <src> <dest>

 

Leave a reply

Related Post

Top 5 websites mistakes that are hurting your Business Growth and how to fix them
December 2, 2024
Website mistakes, Business growth tips

Top 5 websites mistakes that are hurting your Business Growth and how to fix them

Online website is more than just an online storefront, it is a key tool to help your business grow. But even a good-looking website can cause problems if certain issues aren’t fixed.

Read More
What Is HubSpot CMS Hub? A Beginner’s Guide 2025
August 18, 2025
Tips and Tricks, HubSpot CMS, SEO

What Is HubSpot CMS Hub? A Beginner’s Guide 2025

Introduction If you're a growing business looking to scale your digital presence, improve your lead generation, and reduce dependence on developers, then HubSpot CMS Hub is a platform you should definitely consider.

Read More
Optimizing Page Speed in HubSpot CMS in 2025
March 17, 2025
HubSpot Developers, Tips and Tricks, HubSpot CMS, SEO tips and tricks

Optimizing Page Speed in HubSpot CMS in 2025

What is Page Speed?

Read More

Power Up Your Project

Request a Quote and Let Us Save the Day!

Request a quote