Section reference

Header

Choose the logo, navigation, mega menu, sticky behavior, transparent overlay, and localization controls that help customers move through the store.

File: sections/header.liquidSetup: 15 minutesAppears on every page

The Header is not just a style choice. It controls brand recognition, product discovery, search access, account access, cart access, and international selectors. Configure it after the logo, menus, and homepage hero are known.

Header anatomy showing logo, navigation, search, account, cart, and announcement areas
Header anatomy: logo, navigation, search, account, cart, and optional announcement/localization controls should stay clear on desktop and mobile.
  • Choose the menu structure before tuning layout.
  • Use transparent overlay only when the first section supports enough contrast.
  • Test mobile menu, search, account, cart, and localization selectors before publishing.

Build It In Shopify

1

Create the menu

In Shopify admin, go to Content > Menus. Build the main menu and any nested menus before editing the theme.

2

Set logo and header layout

Open the Header section. Add the main logo, optional mobile logo, and optional light logo for overlay pages. Choose the menu and icon behavior.

3

Add mega menu blocks only where useful

Add a Megamenu block for top-level labels that need columns or promo imagery. Keep each menu label matched to your store's real navigation.

4

Choose sticky and overlay behavior

Configure sticky mode after reviewing long pages. Configure transparent overlay only after the homepage or campaign hero is final.

5

Test the header states

Test desktop, mobile, scroll, search, account, cart, menu drawer, mega menu, and localization selectors.

Theme editor setting

Logo and light logo

What this controls

The brand mark shown in normal and overlay states.

When to change it

The header appears on solid backgrounds and over hero media.

Watch out

Using overlay mode with only one logo color.

Theme editor setting

Menu

What this controls

The Shopify link list used for desktop and mobile navigation.

When to change it

Menu items are missing or the wrong links appear.

Watch out

Creating menus in Shopify without selecting them in the Header section.

Theme editor setting

Mega menu blocks

What this controls

Structured dropdowns with columns and optional promo content.

When to change it

A top-level menu needs more than a simple dropdown.

Watch out

Turning every top-level link into a large dropdown.

Theme editor setting

Transparent overlay

What this controls

Lets the header sit over the first hero or campaign section.

When to change it

The first section is strong enough visually and has enough contrast.

Watch out

Overlaying light text on light media.

Theme editor setting

Sticky mode

What this controls

Controls whether the header stays visible while scrolling.

When to change it

Customers need constant search, account, cart, or menu access.

Watch out

Using a tall sticky header that covers content on mobile.

Common mistakes

  • Tuning header layout before the Shopify menu is final.
  • Using transparent overlay on a hero image that cannot support readable text/icons.
  • Uploading only a desktop logo and ignoring the mobile header.
  • Adding too many mega menus instead of simplifying navigation.
  • Forgetting to test cart, search, account, and mobile menu after changing sticky behavior.