Theme Documentation

What is a Global Partial?

A global partial is content, that when edited, will have it's changes applied to all instances of this content throughout your site.

When clicking on a global partial within the content editor it will open a dialog to direct you to the global content editor to edit the partial. Once you publish any changes from within the global content editor those changes will be applied to all instances of the partial throughout your site.

New instances of global partials are not able to be added to a page like saved sections are. These will be static content already available in the templates like the header, footer, and blog post components (hero, sidebar, etc.). Some templates, like blog post templates, may have a settings module with options to hide global partials.


Understanding Global Partial Management

Global partials serve as your site’s foundational elements, ensuring brand consistency and streamlining maintenance across your entire HubSpot website. Unlike individual page modules that you can customize independently, global partials maintain uniform appearance and functionality wherever they appear.

Identifying Global Partials in Your Theme

When working in HubSpot’s page editor, you’ll recognize global partials by their distinctive editing behavior. Instead of inline editing options, clicking on these elements triggers a redirect to the global content editor. This design prevents accidental changes that could affect your entire site’s structure or branding.

Strategic Benefits for Content Management

The power of global partials becomes evident when you need to update contact information, navigation menus, or promotional banners site-wide. Rather than editing dozens of pages individually, you make changes once in the global content editor, and HubSpot automatically propagates these updates across all pages using that partial.

Working with Template Restrictions

Since global partials are embedded at the template level, you cannot add or remove them through the standard drag-and-drop interface. However, many theme templates include toggle options in their settings panels, allowing you to show or hide specific global partials when needed. For blog templates, you might find options to disable sidebar components or hero sections for certain post types.

Best Practices for Global Content

Before editing global partials, preview how changes will impact different page types in your site. Consider creating staging versions of critical pages to test global partial modifications, especially for navigation or footer updates that affect user experience across your entire HubSpot site.