Header rows

The header has three rows with three areas each. Choose which items go where, what sticks on scroll and what phones show.

Shoppers see one to three bars at the top of every page. You decide what each bar holds, so the same header can look like a busy electronics store or a sparse fashion label.

The Core header: a top bar with links and announcements, a main bar with logo, large search and account, and a bottom bar with the menu

How it is built

Open Header in the section list. It always holds three rows: Header top, Header main and Header bottom. Each row has three areas: Left, Center and Right. You add items to an area with Add block.

A row with nothing visible in it disappears, so a two-row header only needs one row left empty. Ridge leaves Header top empty. Hanger leaves Header bottom empty.

The section list in the theme editor with the Header opened, showing its rows and items

What can go in each row

The Add block list only offers what fits that row.

ItemHeader topHeader mainHeader bottom
LogoYes
Mobile drawerYes
Search boxYes
Primary menuYesYes
Secondary menuYesYesYes
AnnouncementsYesYes
TextYesYesYes
ButtonYesYes
HelpYesYes
AccountYesYes
CartYesYes
Country/region selectorYesYesYes
Language selectorYesYesYes
Social media iconsYesYesYes

Most stores should start from one of two shapes. With many categories, put the menu in Header bottom so the search box gets a whole row to itself, as Core does. With a short menu, put logo and menu together in Header main and use the icon style of the search box, as Hanger does.

Move an item

Drag an item to reorder it inside its area. To move it to another area or row, remove it and add it again there. Shopify's editor sets this limit, so the item's settings do not travel with it. Copy any text first.

Choose what sticks

Sticky on Header main and Header bottom decides what the row does when the page scrolls.

  • Always keeps the row in view. It costs screen space on phones.
  • On scroll up hides the row while people read down, and brings it back when they scroll up. This is usually the best choice for the menu row.
  • None lets it scroll away.

Header top has no such setting. It always scrolls away.

By default, Header main is set to Always and Header bottom to On scroll up.

Size and color

Each row has its own Color scheme, Width and Height. A dark top row over a light main row is a common way to set the announcements apart. Height applies on desktop. On phones and tablets, Header main and Header bottom take a compact height, and Header top keeps its own.

Two settings cover the whole header, on the Header section itself:

  • Bottom edge separates the header from the page with a Line, a Shadow or None. Once the header sticks, a soft shadow shows whichever you choose.
  • Icon size sets the search, account, help, cart and mobile menu icons together.

On Header top, Text style can set the whole row in small capitals. Hanger uses this with Small label.

The items worth a closer look

  • Logo has no image setting of its own. Upload it and set its width in Logo and favicon.
  • Help opens a small panel from one word or icon. Add Link and Divider blocks inside it for your phone number, contact page and order tracking.
  • Account shows Shopify's own sign-in. Show label turns the word "Sign in" on or off.
  • Cart has Show cart total, and Count style offers Badge, Small badge and Dot.
  • Button suits one strong link, such as a sale or a store finder. Its colors follow the row's color scheme.
  • Secondary menu is a row of plain text links. It suits delivery and returns pages that do not belong in your main menu.

The main navigation has its own guide: Menus and mega menus. So do the Search box, Announcements and Country and language.

Contact details on a new store

The demo's phone number does not come with the theme. The presets start in one of two ways.

  • Shown: Core, Burrow and Mantel have a phone link in Help, and in the Help box of the Mobile drawer. It is typed as [store_phone], so it shows the phone in Settings > Store details. With no phone there, shoppers read "Your phone number". Add your phone, or remove the link. Its Link starts empty, so add one, such as tel:+15550100.
  • Hidden: Ridge hides its phone link in Help, and Ridge and Hanger hide the Help box. Core hides a third announcement that says "Say when your team answers". Change the wording, then click the eye icon beside the item to show it.

Opening hours and the store address are in the Footer. Store words lists what each word shows.

On phones and tablets

There are no separate mobile rows. Below 1100 pixels wide, the same rows show, and each item's Show on decides whether it appears: All devices, Desktop only or Mobile and tablet only.

If an item needs a different place on phones, add it twice, one for each. Mantel does this with its logo: one Desktop only in the center, one Mobile and tablet only on the left.

The menu itself lives in the Mobile menu. Keep the top row short on phones, because the logo, the search and the cart all need room.

Something not working?

Some links moved into More. When a row runs out of room, the theme moves the last links of Secondary menu, then the last items of Primary menu, into a More dropdown. A mega menu does not open from inside More, so keep your mega menu items early in the menu.

Items overlap on a laptop screen. Other items, such as the search box or a contact block, do not move. Remove one, move it to another row, or shorten your menu.

A row is missing. Every item in it is hidden on this screen size, or it has none. Check Show on.

All settings: Header
SettingWhat it does
Bottom edgeWhat separates the header from the page. Once the header sticks to the top a soft shadow shows with every choice. Options: Line, Shadow, None.
Icon sizeThe icons of the header: search, account, help, cart and the mobile menu. Options: Small, Medium, Large.
All settings: Header top
SettingWhat it does
Color scheme
WidthFull width runs the row to the page margins, up to Theme settings > Layout > Full width rows: widest content. Its mega menus line up with it. Options: Page width, Full width.
HeightThe row's height on desktop. Header top keeps it on every screen; Header main and Header bottom take a compact height on mobile and tablet.
Text styleSmall label sets the whole row (links, announcements, country, language) in the label font, small, in capitals when Typography > Small label case is Uppercase. Options: As typed, Small label.
All settings: Header main
SettingWhat it does
Color scheme
WidthFull width runs the row to the page margins, up to Theme settings > Layout > Full width rows: widest content. Its mega menus line up with it. Options: Page width, Full width.
StickyWhat this row does when the page scrolls. Header top always scrolls away. Options: None, Always, On scroll up.
HeightThe row's height on desktop. Header top keeps it on every screen; Header main and Header bottom take a compact height on mobile and tablet.
All settings: Header bottom
SettingWhat it does
Color scheme
WidthFull width runs the row to the page margins, up to Theme settings > Layout > Full width rows: widest content. Its mega menus line up with it. Options: Page width, Full width.
StickyWhat this row does when the page scrolls. Header top always scrolls away. Options: None, Always, On scroll up.
HeightThe row's height on desktop. Header top keeps it on every screen; Header main and Header bottom take a compact height on mobile and tablet.
All settings: Logo
SettingWhat it does
Show onOptions: All devices, Desktop only, Mobile and tablet only.
All settings: Secondary menu
SettingWhat it does
MenuA row of text links. A menu item with sub-items opens a dropdown.
Text sizeOptions: Small, Regular.
Show onOptions: All devices, Desktop only, Mobile and tablet only.
All settings: Text
SettingWhat it does
Text
Link
Show onOptions: All devices, Desktop only, Mobile and tablet only.
All settings: Button
SettingWhat it does
Label
Link
Open in a new tab
StyleColors follow the color scheme of the row. Options: Highlight, Solid, Outline, Soft, Text.
SizeOptions: Small, Medium, Large.
Corner radiusOptions: Same as theme buttons, Square, Rounded, Pill.
IconOptions: None, Arrow, Tag, Gift, Lightning bolt, Swap arrows, Badge, Star, Delivery truck, Map pin, Phone, Headset, Email, Briefcase, Recycle.
Custom iconOptional. Upload a single-color .svg or .png with a transparent background. It takes the text color of the row and replaces the icon above.
Icon positionOptions: Before the label, After the label.
Show onOptions: All devices, Desktop only, Mobile and tablet only.
All settings: Help
SettingWhat it does
IconOptions: Headset, Chat bubble, Message, Phone, Question mark.
Custom iconOptional. Upload a single-color .svg or .png with a transparent background. It takes the text color of the row and replaces the icon above.
Label
Heading
Text sizeAutomatic keeps the size the item takes in its row. Small and Regular match the Links item's sizes. Options: Automatic, Small, Regular.
Show dropdown arrow
Show onOptions: All devices, Desktop only, Mobile and tablet only.
All settings: Help link
SettingWhat it does
IconOptions: Chat bubble, Message, Phone, Email, Headset, Question mark, Delivery truck, Return, Box, Map pin.
Label
Link
All settings: Account
SettingWhat it does
IconOptions: Person, Person in a circle.
Custom iconOptional. Upload a single-color .svg or .png with a transparent background. It takes the text color of the row and replaces the icon above.
Customer account menu
Show label
Show onOptions: All devices, Desktop only, Mobile and tablet only.
All settings: Cart
SettingWhat it does
Show cart total
Count styleSmall badge sits out at the icon's top corner, so it does not cover the icon. Dot shows that the cart has items, without the number. Options: Badge, Small badge, Dot.
Show onOptions: All devices, Desktop only, Mobile and tablet only.
All settings: Social media icons
SettingWhat it does
Show onOptions: All devices, Desktop only, Mobile and tablet only.

On this page