Skip to main content
TRUST Documentation

Header

Your site header is the area at the very top of your website where your logo and main navigation are displayed. Below is a breakdown of the options available along with some information that explains how certain controls are only visible when other controls are engaged or selected.

header--documentation

Hello Bar

Enable Hello Bar: Boolean (check to enable)

These controls will only be visible if Enable Hello Bar is equal to true.

Hello Bar Group
  • Device Visibility: Single Choice: Show at all screen sizes, Hide on Desktop, Hide on Desktop and Tablet, Hide on Tablet and Mobile, Hide on Mobile
  • Exclude Hello Bar on Website Pages: Boolean (check to enable)
  • Exclude Hello Bar on Landing Pages: Boolean (check to enable)
  • Exclude Hello Bar on Blog: Boolean (check to enable)
  • Hide Hello Bar for Members of Specific Contact Lists: Boolean (check to enable)
  • When Hide Hello Bar for Members of Specific Contact Lists is enabled then the following will appear as an option.
    • Repeatable Group: Excluded List IDs
      • Excluded List IDs: Text Input - Enter the ID of any number of contact lists. Members of at least one of these lists will not see the Hello Bar.
  • Cookie: Name/ID: Input Text - Enter a unique alphanumeric combination of letters for use in the cookie name. This text should contain only letters, numbers, hyphens, and underscores. No spaces or other special characters should be used. Changing the cookie name will cause any users with the old cookie(s) to immediately be able to see the popup again. This means the cookie name should only be changed when the Hello Bar's purpose is. The cookie is specific to the domain.
  • Cookie: Lifetime (Days) When Closed: Number Input
  • Cookie: Lifetime (Days) When Clicked: Number Input - This cookie is only set if the CTA within the Hello Bar content is clicked.
  • Text Content: Text Input
  • CTA: Type: Single Choice: HubSpot Call-to-Action, Custom Link
  • Based on your selection for CTA: Type, the following inputs will show.
    1. Option: HubSpot Call-To-Action
      • CTA: Select HubSpot CTA from the CTA Section of your portal
    2. Option: Custom Link
      • CTA: Button Text: Text Input
      • CTA: Hyperlink URL
        • Link to: External, Content, File, Email Address, Blog
        • URL: Input URL or Select Page

Top Bar

Top Bar Group
  • Top Navigation Repeatable Group
    • Menu Item Icon: Icon
    • Menu Item Label: Text Input
    • Hyperlink
      • Link to: External, Content, File, Email Address, Blog
      • URL: Input URL or Select Page
    • Open Hyperlink in New Tab: Boolean (check to enable)

Main Nav Call to Action

Show CTA: Boolean (check to enable)

These controls will only be visible if Show CTA is equal to true.

  • CTA: Button Text: Text
  • CTA: Hyperlink URL
    • Link to: External, Content, File, Email Address, Blog
    • URL: Input URL or Select Page
  • CTA: Open Hyperlink in New Tab: Boolean (check to enable)

FAQs

Where do I change the theme header's style(s)?

Can I use a HubSpot Advanced Menu?

My search isn't working. What's wrong?

Page Speed Impact

Low - This module is your global site header. Due to this fact, great care has been taken to ensure it's flexible but, also optimized for performance.

Development Notes

Reserved block class:

header

Resources:

module js inside main module

globals/Header/css/Header.css

Header CSS Partials

globals/Header/css/_partials/_header-cta.css

globals/Header/css/_partials/_header-hello.css

globals/Header/css/_partials/_header-languageswitcher.css

globals/Header/css/_partials/_header-logo.css

globals/Header/css/_partials/_header-main.css

globals/Header/css/_partials/_header-megamenu.css

globals/Header/css/_partials/_header-mobile.css

globals/Header/css/_partials/_header-nestedmenu.css

globals/Header/css/_partials/_header-search.css

globals/Header/css/_partials/_header-top.css

globals/Header/css/_partials/_header-wrapper.css