Skip to content

Use global content across multiple templates

Last updated: November 3, 2023

Available with any of the following subscriptions, except where noted:

Marketing Hub Professional, Enterprise
CMS Hub Starter, Professional, Enterprise
Legacy Marketing Hub Basic

With global content, you can repeat a section of content, such as a header or footer, across multiple pages of your website. You can edit global content from the content editor or design manager.

Changes made to global content will be applied to all content using a template that contains the same global content. Learn more about managing global content in multiple languages

Please note: only users with either Super admin or Global content settings permissions can edit global content. 


Edit global content in the content editor

  • Navigate to your content:

    • Website Pages: In your HubSpot account, navigate to Marketing > Website > Website Pages.
    • Landing Pages: In your HubSpot account, navigate to Marketing > Landing Pages.
    • Blog: In your HubSpot account, navigate to Marketing > Website > Blog.
  • Hover over your content, then click Edit.
  • In the content editor, click the global content. It will be labeled with a globalGroup global content icon. 

  • In the dialog box, click Open in global content editor
  • In the global content editor, use the drag and drop tools to edit the modules in a global group. 
  • To preview the global content in specific content, click the View on dropdown menu in the top left and select a page or post where the global content is hosted. To view the global content by itself, select Group only instead.
  • To create a multi-language version of the global content, click the Language dropdown menu in the top left and select Add/edit multi-language variations. Learn more about creating multi-language global content
  • When you're done editing global content, click Publish to [X] assets in the upper right. These changes will be applied to all pages and blog posts using a template that includes this global content.

use-global-content-editor

Create new global content in the design manager

In the design manager, developers can create new global content or convert local content to global content. 

Please note: flexible columns, drag and drop areas, and coded modules can't be used in global groups.

To create a global module from scratch: 

  • In your HubSpot account, navigate to Marketing > Files and Templates > Design Tools..
  • In the finder, click the File dropdown menu and select New file.
  • In the dialog box, click the What would you like to build today? dropdown menu and select Module, then click Next. 
  • In the Where would you like to use this module? section, select the checkbox next to each type of content that will use this global module. Global modules used for emails cannot include CSS or Javascript. 
  • In the Module content scope section, select Global module
  • Enter a file name, then click Create.

To convert an existing local module or group:

  • In your HubSpot account, navigate to Marketing > Files and Templates > Design Tools..
  • In the finder, click a template to edit its contents.
  • If you're creating a global group, you can edit the options of multiple modules. Press the Control / Command key, click the modules you want to group, then click the groupModule group icon in the inspector.
  • Click the module or module group to select it in the layout editor.
  • In the inspector, click the More dropdown menu and select Convert to global module/group.
Make-Module-Global.png

To add a global module or group to your templates: 
  • Click Add in the layout inspector.
  • Then click your global module/group and drag it into the template layout,
HubSpot Help article screenshot

To edit a global group: 

  • To edit a global group, click the global group in your template. 
  • In the inspector, click the More dropdown menu and select Edit global group.

edit-global-group

  • A new tab will open in your design manager with all the contents of your global group. Add or delete modules as desired, or edit the contents of your global content.
  • To apply these changes to your content, in the upper right, click Publish changes .

If you decide you want to change the contents of a global module or global group on only one page, blog post, or email, you can make a local copy of the global content in the design manager to edit its content separately.

Was this article helpful?
This form is used for documentation feedback only. Learn how to get help with HubSpot.