Skip to content

Global Header Settings

How to configure the header for your HubSpot website theme

icon-module-header

WEBSITE HEADER

One of the key building blocks for your website, the header is the primary location where your site visitors will interact with your navigation menu.

header-layout-examples

Page Speed Impact

LOW

The header module has very little impact on page speed.

MEDIUM

Logo size and file format can impact your page speed if not sized appropriately.

TIPS

For the best quality, we recommend SVG for your logo sized at 120px wide.

FAQ

How do I edit the website menu?

From your HubSpot Settings, click Website, then Navigation to edit or create a new menu

Setup Instructions

 

How to Set Up Global Header

Page Editor → POWER Header

To access the global header module, the easiest way is to create a website test page, select your child theme and a template, then click the Contents tab and choose "POWER Header" to open the Global Content Editor.
 
edit-global-header-page-editor

POWER Header → Global Content

Once you have accessed the global module, you will have the choice to set up 4 variations for the header.

global-content-header-types

We recommend configuring the header for all page types at the beginning, even if you don't plan on using one of them (i.e. blog or landing pages) so that you have a consistent starting point if anything changes.

It is also possible to override the default header for an individual page, so an unused header type could be styled for this situation.

Header Types for POWER Theme

  • PAGE header is the default for website pages
  • LANDING PAGE header is the default for landing pages
  • BLOG header is the default for the Blog Listing and Blog Post templates
  • SYSTEM PAGE header is the default for the 404, 500, and Search templates

While Subscription templates are system pages and they typically use the LANDING PAGE header, some accounts are using the PAGE header for these pages with no clear explanation from HubSpot.

Add Logo to HubSpot Website

Settings → Website → Pages → Branding

The header uses the pre-configured global logo that you can add to the Website Images in the Branding for your Domain.

This is also where you can set the favicon for your website, which is visible in the tab of most browsers.

hubspot-branding-logo-setup

We recommend using an SVG-file logo for the best rendering across all devices and browsers. Additionally, you can adjust the default size of the logo here. A width of about 120 pixels works best in our theme.

Publishing the Global Header

When you're ready to publish the Global Header, you'll click the orange Publish to X Assets button in the upper right corner. The number of assets corresponds to the total number of assets using this specific child theme that contains any of the header types.

publish-assets-hubspot-header

It is important to note that if you make a change to the BLOG Header, you'll have to publish the header to ALL assets, not just the blog assets. This is true for each Header Type, whether you are configuring every header or making a change to an individual setting - until you Publish to X Assets, your changes will not be visible on your preview pages and live site.

Module Options

There are some settings that are only visible based on previous choices, if you do not see the option available, it does not work with the layout or selections you've already made.

These settings are available for each Header Type (Page, Landing Page, Blog, System Page). We recommend opening a second browser window once you have the PAGE Header configured to make it easier to apply the same settings for the other header types and modify as needed.

POWER Header → Logo

Option to Override default logo and Override Logo Sizes.

power-header-logo-settings

POWER Header → Sticky Logo

The Sticky Logo is the logo visible on scroll if you enable the setting for Fixed on Scroll in the Style settings. If you plan on changing the color scheme of the header from light to dark or dark to light on scroll, you'll want to override the default logo for the alternate color scheme to ensure the logo is visible.

Option to Override default logo and Override Logo Sizes.

header-sticky-logo

POWER Header → Menu

Option to Override Logo Link allows you to replace the preconfigured link from the global HubSpot settings. 

Check Header Menu Main to select your primary navigation. Help with Navigation Menus.

header-main-menu-1

POWER Header → Menu → Override Menu Position?

Check Override Menu Position to shift the location of your menu from the left to remove any overlap with your logo.

override-menu-position

POWER Header → Menu → Header Hamburger/Mobile Menu

Check Header Hamburger/Mobile Menu to select an independent navigation which will be shown in the hamburger sidebar or on mobile. If not active, the main menu will be used for the hamburger and mobile menu. Only works in combination with the active main header navigation and is designed to allow you to create a mobile-friendly version of your navigation if needed.

header-hamburger-mobile-menu

POWER Header → Menu → Header Top Menu

Check Header Top Menu to add a secondary menu bar above the header. This menu is not sticky on scroll and is often used for social icons and targeted menus.

The Top Menu does not display on desktop unless you check Top Header Desktop and on mobile unless you check Top Header Mobile in the checkbox under Layout → Choose Layout

header-top-menu-1

POWER Header → Contact Information

Check Contact Information to include contact information in the header.

contact-settings-header

Phone Link must be configured with the "+" at the beginning with all other symbols and spaces removed.

POWER Header → Contact Information → Contact Icon

Choice of Phone, Mail, or Message icons for use in the header.

contact-information-header

Preview of the Phone Icon

contact-icon-phone

Preview of the Mail Icon

contact-icon-mail

Preview of the Message Icon

contact-icon-chat

Hover over the Contact Icon in the header to reveal the Contact Information.

contact icon hover state showing phone and email information

POWER Header → Login

Check Login to include the login icon in the header.

header-login

Click the Person Icon in the header to access the Membership page link configured in the settings.

membership-login

POWER Header → Button Type of 1st Button

Choice of Button, CTA, or None.

For Button, additional settings are included to configure the 1st Button Title and 1st Button Link.

For CTA, make sure the CTA chosen is configured as "Link (No Style)" to avoid style conflicts.

button-in-header

POWER Header → Button Type of 2nd Button

Choice of Button, CTA, or None. Same setting options are available as 1st Button.

2-buttons-in-header

POWER Header → Search

Check Search to include search in the header.

header-search

When the Search Icon is clicked, the search function expands from the Header (example is dark scheme).

search bar activated with field to type search term

Make sure that your Search page has been configured to use the POWER template for your child theme in your HubSpot Settings.

POWER Header → Search → Search Settings

Check Show Search Suggestions if you want the user to see suggested content before submitting the search query.

power-header-search-settings

Example of search suggestions:

hubspot-search-suggestions-header

POWER Header → Search → Search Settings → Limit

Adjust Limit to determine how many results should display per search results page, the default value is 5 (five).

POWER Header → Search → Search Settings → Search in Properties

Check the property types that should be included in the search results. All properties are selected by default and can be modified independently per header type (Page, Landing Page, Blog, System Page).

header-search-in-properties-setting

POWER Header → Search → Search Settings → Search in Page Types

Check the page types that should be included in the search results. The default selection includes Pages, Blog Listings, and Blog Posts with the option to also include Landing Pages and Knowledge Base Articles.

header-search-in-page-types-setting

POWER Header → Search → Search Settings → Cross Domain Search

If you need Search to include multiple domains, you'll need to configure each domain in the Cross Domain Search settings.

If your website, blog, knowledge base, etc. are all on the same domain you don't need to configure your domain here.

Check the box to activate Cross Domain Search.

header-cross-domain-search-setting

POWER Header → Search → Search Settings → Cross Domain Search → Search Domains

Click Add one to add the first domain, this should be your default/primary domain (it's not included automatically once you check the box).

Each domain should be added using the format subdomain.domain.extension, e.g. www.maka-agency.com. 

POWER Header → Search → Search Settings → Specific Blog(s)

If you only have one blog or you want to include all of the live blogs in your account, this setting will remain blank.

Click Add one to add an individual blog if you want to limit the search to this blog only.

This setting is typically used for the Blog header variant when you want to limit the search to a specific blog (for example, if you have a blog for your blog/news, but also have a blog configured for another purpose to organize content on your website).

POWER Header → Search → Search Settings → Language

Specifies the language of content to be searched.

This parameter should obey the ISO639-1 format (e.g. es for Spanish).

The default is all languages, updating this setting is recommended when using multi-language content to limit the language per language variant in the header.

If you're building your website in multiple languages, we recommend fully configuring your header (including all four variants) before you create your multi-language variant to ensure the base settings are consistent across all languages.

POWER Header → Social Icons

Click Add one to configure your first Social Icon for your header.

social-icons-in-header

POWER Header → Social Icons → Icon  Setup

add-social-icons-header

POWER Header → Social Icons → Use Social Icons in Header

Option to include the social icons in the desktop header. You will have to be careful how many settings you enable in the header as the social icons won't fit if you have too many options selected. There is also an option under Layout to move them to the Top Header.

social-icons-header

POWER Header → Social Icons → Use Social Icons in Burger

The social media accounts are shown in the header bar for the layouts “Landing Page”, “Burger”, and “Burger Only” as well as in the burger menu on mobile. 

social icon settings for header showing facebook and twitter links

Example of Social Icons on Landing Page header:

social icons on landing page header

POWER Header Menu Layout Settings

POWER Header → Advanced Mega Menu

Advanced Mega Menu for Desktop only, all other devices will use the existing menu as configured.

Header-Advanced-Mega-Menu

If you are using the Advanced Mega Menu the Layout needs to be set to Dropdown or one of the Mega Menu choices, it is not compatible with the Burger, Burger Only, or Landing Page.

Step-by-Step Instructions for the Advanced Mega Menu

POWER Header → Layout → Choose Layout

This is where you'll choose the format your menu will be in.

menu-layout

  • Dropdown - classic dropdown menu where sub-menus fly out horizontally

classic dropdown menu with sub-menu fly out horizontally

  • Mega Menu - as wide as the menu content width

mega menu content width

  • Mega Menu Content Width - as wide as the content container width

header menu with 5 column mega menu in dark scheme

  • Mega Menu Screen Width -stretches over the full width of the window/screen

mega meu screen width

  • Burger - reduces the menu to a hamburger icon which reveals the full menu in a sidebar

Power theme header with burger menu

burger menu sidebar expanded

  • Burger Only - shows all header elements in the sidebar only

burger only header option

  • Landing Page - reduced menu to improve conversions. This layout shows social icons, but a simple top-level menu can also be added.

landing page header option with social icons

POWER Header → Layout → Top Header Desktop

Check Top Header Desktop to activate the top header bar above the main header. If you configured a menu under Menu → Top Header Menu, it will appear now.

top-header-and-social

power-header-with-top-header-menu-social-icons

Once checked, you will also see additional options under Social Icons for Use Social Icons in Header and Use Social Icons in Top Header.

Check Flip Order of Top Bar Elements if you want to move the top bar elements from the left to the right.

Check Top Header Mobile if you would like to add a button next to the burger on mobile for the Top Header.

top-header-mobile-button

Check Hide Hamburger Icon? to hide the hamburger even if there is content in the sidebar menu.

POWER Header Style Settings

POWER Header → Style

Set the Color Scheme for your Header elements.

style-color-scheme-header-settings

POWER Header → Style → Color Scheme Header

Choice of Light or Dark for the main header.

The light scheme shows a light background color and a dark font and the dark scheme shows a dark background color and a light font color as defined in the Theme Settings for your child theme.

power header light color scheme

power header dark color scheme

POWER Header → Style → Color Scheme Top Bar

Choice of Light or Dark for the top header.

The light scheme shows a light background color and a dark font and the dark scheme shows a dark background color and a light font color as defined in the Theme Settings for your child theme.

power top header light color scheme

power top header dark color scheme

POWER Header → Style → Color Scheme Dropdown

Choice of Inherit, Light or Dark for the dropdown and mega menu(s).

Inherit will use the same color scheme as chosen for the main header.

The light scheme shows a light background color and a dark font and the dark scheme shows a dark background color and a light font color as defined in the Theme Settings for your child theme.

dropdown-menu-color-scheme

POWER Header → Style

Additional style settings for your header and top header.

header-style-options

Check Transparent Header to remove the background from your header to see the page content behind.

transparent header for power theme

Check Transparent Top Header to remove the background from your top header to see the page content behind.

transparent top header for power theme

Check Glassmorphism Header to remove the background from your header to see the page content behind.

Additional settings are available to adjust the color scheme.

glassmorphism-header-settings

Social Icon color can be adjusted in Theme Settings → Color → POWER → Light Scheme → Other → Social

glassmorphism-header-style

Check Glassmorphism Top Header to remove the background from your top header to see the page content behind.

glassmorphism-top-header-style

Check Content Full Width to stretch the header content to the window borders instead of the container width (not recommended).

content full width stretches header to window borders

POWER Header → Style → Fixed on Scroll

Check Fixed on Scroll to make the main header sticky, so the header/navigation sticks to the top of the page as the user scrolls.

Option to change the Space between menu items to adjust how your menu fits in the header.

Choices are Normal (50px), Narrow (32px), and Narrow (24px).

With Fixed on Scroll activated, you'll see an option to set Color Scheme On Scroll to Light or Dark. If different choice from Color Scheme Header,make sure your sticky logo color works with the alternate color scheme.

space-between-menu-items

Option to set Scroll Shadow for use with Burger menu on mobile, if the container is filled with content, this provides an indicator to the user to scroll. Chocies are Same as Background Color or None.

POWER Header → Style → Language Switcher

Check Dropdown arrow for language selector to add an optional indicator to change the language for multi-language pages.

Creating translated pages will automatically show the language switcher in the header bar.

activate-language-selector

Without arrow (default - this displays automatically):

header menu showing language switcher dropdown

With arrow indicator enabled:

language-switcher-indicator

POWER Header → Style → Button/CTA

Option to configure the Button/CTA Style for each button.

Option to configure the Button/CTA Size for each button.

For a detailed explanation of options, refer to CTA settings.

activate-language-selector

POWER Header → Standard Text/Translations

Option to change or translate the standard text used throughout the header.

standard-text-translation-header-settings

Option to change or translate the standard text used throughout the burger menu.

text-translations-for-header

POWER Header → Custom Class

Here you can set a custom CSS class for your header. This allows you to target this specific element in any of your custom stylesheets. 

Configurations

Header with Dropdown Menu

header-dropdown-example

Layout > Choose Layout

Dropdown

Style > Transparent Header

Activated

Style > Color Scheme

Dark

Header with Mega Menu

header-mega-menu-example

Layout > Choose Layout

Mega Menu

Style > Transparent Header

Activated

Style > Color Scheme

Dark

Header with Mega Menu

glassmorphism-header-example

Layout > Choose Layout

Mega Menu

Style > Glassmorphism Header

Activated

Style > Color Scheme

Light

Examples

configura-navigation
clever-navigation
ander-group-navigation
barbacoa-navigation
keylight-navigation
sopact-navigation
talentpoint-navigation
alice-navigation
netrics-navigation
arivis-navigation
omapaja-navigation

Next Steps

Now that your header is set up, you can set up your footer.

Next up:

NEVER MISS A POWER UPDATE

We are continuously improving our modules and updating our documentation. Stay in the loop.