Should I clone navigation module to child theme?

Hello,

I am creating a new website in HubSpot, but have not worked with an enterprise account before, so I am being double-sure with updates so as not to disrupt other sites that may be sharing a parent theme.

That being said, I made a child theme of my HubSpot marketplace template and am using that to set up the new website. However, when editing the global header/footer, it seems to also edit the original marketplace theme modules. Do I need to clone the actual module file from the parent SR theme (shown below), to my child theme’s folder and work with that instead?

And, should I be doing that with all the modules I use? I am struggling to understand why the global modules are changing the marketplace theme, but others aren’t.

Thank you for your help!

Hey @AMonroe,

yes, you need to clone each asset (including CSS files) you want to modify/use to the child-theme.

As of global modules and global partials (like headers,footers…):
Usually they shouldn’t interfer with each other if you create cloned versions in the child-theme.

Something I do to be 100% sure not to mess up the global partials is, I’m cloning the templates they’re used in (like the base.html) and renaming them from something like header.html to custom-header.html and replacing it in the base.html accordingly.

Also, make sure to select the right child-theme/template from the child-theme in your page, otherwise none of your changes will be visible in the new page.

best,
Anton

Hi @AMonroe
I agree with @Anton — cloning assets (CSS files, global modules, and partials) into the child theme is definitely the safest approach. This ensures your edits stay contained and don’t impact the parent theme or other sites. I also recommend following the same practice for navigation, headers, and footers — clone them into the child theme before customizing. That way, everything remains isolated and future updates are easier to manage.

I hope this will help you out. Please mark it as Solution Accepted and upvote to help another Community member.

Thanks!