Skip to main content

Header

The header's two rows, the Group, Logo, Icons and Social media blocks, and its section settings.

The header is built from blocks, so you decide what it contains and where. Open Header in the header group at the top of the editor. The menu blocks have their own article, Menus and mega menu, and what happens on phones is in Mobile menu.

Desktop and Mobile rows

The header has two rows that cannot be removed: Desktop and Mobile. Each holds the blocks for its screen size. Desktop is from tablet landscape up, Mobile is phones and small tablets. Each row has one setting:

  • Alignment: Space between puts the first block on the left, the last on the right and spreads the others between them. Middle block centered does the same but keeps the middle block in the exact center of the row.

The Desktop row takes Logo, Menu, Custom menu, Icons, Social media, Group and app blocks. The Mobile row takes Menu button, Logo, Icons, Group and app blocks.

Out of the box the Desktop row is Logo, Menu, Icons. The Mobile row is Menu button, Logo, Icons with Alignment set to Middle block centered, so the logo sits in the exact center.

Group

A Group keeps the blocks inside it next to each other, for example a logo and a menu on the left while the icons sit on the right. The desktop Group takes Logo, Menu, Custom menu, Icons, Social media and app blocks; the mobile Group takes Menu button, Logo, Icons and app blocks. It has no settings.

Logo

Your logo, linked to the home page. Without an image of its own it shows the logo from Theme settings > Logo, and the store name as text until a logo is uploaded. Logo for inverted header is a second version, usually a light one, that replaces the logo while the header is inverted over a dark banner. A block with its own logo uses its own inverted logo; otherwise both come from Theme settings.

  • Logo: Leave empty to use the logo from Theme settings.

  • Logo for inverted header: Replaces the logo while the header uses the inverted color scheme.

  • Width: Width of this block's own image, in pixels. The logo from Theme settings keeps the width set there.

Icons

The icon row. The cart icon is always there: it opens the cart drawer or links to the cart page, depending on Cart, and shows the number of items. The globe icon appears when the store has more than one country or language, see Country and language. Search and account can be turned off.

  • Country/region and language selector: A globe icon that opens the country and language drawer. Only shown when the store has more than one country or language.

  • Search: The search icon. It opens the search drawer, or links to the search page when the drawer is off in Theme settings > Search behavior.

  • Account: The account icon, shown when customer accounts are turned on in the admin.

Social media

The links from Theme settings > Social media, as icons or as a text list. Only the networks with a link filled in are shown. The same block goes into footer columns and rows and into the Menu button.

  • Style: Icons or Text.

Section settings

  • Sticky header: On scroll up hides the header while scrolling down and brings it back on the way up. Always keeps it on screen. None, On scroll up or Always.

  • Color scheme: One of the color schemes from Theme settings > Colors.

  • Inverted color scheme: Used while the header sits over a first section that has Use inverted header on overlap turned on.

Navigation

  • Navigation color scheme: Color scheme of the dropdown and mega menu panels and of the mobile menu.

Spacing

  • Horizontal container: How wide the header content may get. Small, Medium and Large use the three max widths from Theme settings > Spacing, None is edge to edge.

  • Top padding: Space above the header content.

  • Bottom padding: Space below the header content.

The header over a banner

The section at the top of a page can recolor the header or let it overlap a banner, see First section settings. When a first section overlaps the header with Use inverted header on overlap turned on, the header switches to its Inverted color scheme, so pick a scheme with light text if your banners are dark. A Logo for inverted header replaces the logo at the same time. While a menu panel is open the header returns to its regular scheme, so the panel stays readable.

Did this answer your question?