Why Create a Child Theme?
When you install Generator from the HubSpot Marketplace, it's read-only by default. You can build pages with it as-is, but you won't be able to edit the theme's code.
Creating a child theme gives you access to Generator's CSS, JS, and templates — so if you ever need a developer to make changes down the line, that option is available. It's better to have it and not need it than need it and not have it.
How to Create a Child Theme
- In HubSpot, go to Content → Design Manager
- Open the Marketplace folder — this is where Generator saves itself after installation
- Look for the Generator folder. Folders with a pencil icon are themes
- Right-click on the Generator theme and select Create Child Theme
- Give your child theme a name and choose a location (the root folder is fine)
- Click Create Child Theme
How to Make Sure Your Pages Use the Child Theme
You only need to do this once — HubSpot will apply it to all future pages automatically.
- Open any website page in HubSpot
- Click Edit and check the theme name in the settings — if it shows the Marketplace version, you'll need to switch it
- Go to Settings → Template → Use a Different Template
- In the Template Selector, click Theme
- Find and select your Generator child theme
- Click Set Active Theme
Your pages will now use the child theme going forward.