<img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=241066823005528&amp;ev=PageView&amp;noscript=1">

Modules

Site header

The bar at the top of every page: Your logo, your navigation menu, up to two buttons and a mobile menu. It stays at the top while visitors scroll and becomes slightly more compact.

On this page

Set it up

  1. Create or open a navigation menu under Settings → Content → Navigation menus. Items with child pages open as dropdowns, and a third level shows as groups inside the dropdown.
  2. Open a page that uses an Omni template, click the header and choose Edit global content.
  3. Select the Site header module and pick your menu under Navigation → Menu.
  4. Change the buttons under Buttons and publish the global content.

What you can change

SettingWhat it does
LogoUses the logo from Settings → Branding. Override it to show a different logo in the header only
Logo on dark backgroundsShown while the header is in Dark color mode. Leave it empty and the normal logo is drawn in white; the Logoipsum placeholders switch to their light versions
Placeholder until the brand kit has a logoLogoipsum horizontal, stacked or badge, or the company name
Logo linkLeave empty to link to the home page
Navigation → MenuThe navigation menu in the header and in the mobile menu
ButtonsUp to two link buttons or HubSpot CTAs, for example Log in as a text link next to a primary button
BehaviorKeep the header at the top while scrolling, and make it compact after scrolling
Accessibility labelsTexts for screen readers: Skip link, logo link, open and close menu, submenu buttons

Choose the look

SettingOptions
Styles → LayoutContent width (aligned with the page or full width), menu position (next to the logo, centered or next to the buttons), header height, compact height and logo width on desktop and mobile
Styles → BackgroundColor mode (Use theme setting, Light, Dark), then the light-mode colors: Background, background after scrolling, blur and border after scrolling. Dark paints the bar, the dropdown panels and the mobile menu with the dark palette, see Color modes
Styles → TextMenu font, menu color, and the hover and active color
Styles → DropdownsDropdown background, text color and corner radius
Styles → Mobile menuBackground of the mobile menu
Styles → AnimationUse theme setting, on or off for dropdowns, the mobile menu and the compact header

The colors start from Theme settings → Website header, so you can set them once for the whole site.

Good to know

  • Until a menu is selected, the header shows the logo and the buttons. In the editor it reminds you to choose a menu.
  • The mobile menu takes over below 1024 px. Keep the top level to five or six items so it fits in one row on laptops.
  • When a page has published translations, the language switcher appears next to the buttons.
  • Keyboard users open a dropdown with the arrow button next to a menu item (Arrow Down moves into it) and close it with Escape.
  • Landing pages use the header without navigation, which only shows the Site logo module.
  • Logo width and Logo width on mobile take any number of pixels. The logo still never gets taller than the header bar or wider than its space.

Support

Did this answer your question?

If not, write to us and say which page you were on.