Header and navigation

The Chisel header has a top row for branch, phone and account details, a main row for the logo, search and cart, and a navigation row for your menu. This guide explains each part, how the department index menu uses your main menu, and which header settings to change.

Before you begin

1. Know the parts of the header

The header has three rows on a computer. On a phone the top row is kept to one line, the menu opens as a drawer, and the search field has its own row.

Top row (utility row)

Main row

Navigation row

2. Use the department index menu

The All departments button opens a panel under the header. The panel uses the three levels of your main menu.

  1. Create the main menu in the Shopify admin. Add top-level links, such as "Power tools".
  2. Under each top-level link, add second-level links, such as "Drills".
  3. Under each second-level link, add third-level links, such as "Cordless drills".
  4. Save the menu.

The panel shows:

Select a top-level link, or move between the links with the arrow keys, to change the columns. Press Escape to close the panel. Focus returns to the All departments button.

If a top-level link has no children, the panel does not show columns for it.

The navigation row links still work without JavaScript. The index panel does not open without JavaScript.

3. Set up the branch line

The branch line needs header blocks. Each block is one branch.

  1. Open the header in the theme editor.
  2. Add a Branch block for each branch.
  3. Enter the Branch name and the Opening hours line. The hours line is short text, such as "Open until 17:30".
  4. Turn on Show branch selector in the Stock group of the theme settings. It is on by default.

The first branch block is the default branch for shoppers who have not chosen one. Shoppers select Change to open the Choose your branch dialog. Their choice is saved in the browser.

Use the same name as the Shopify location for each branch. This name links the branch line to the stock list on product pages. See the stock and branches guide.

4. Set the phone number

  1. Open the header in the theme editor.
  2. Enter the number in Phone number. Use the format your customers expect to dial.
  3. Save.

The number shows in the top row and links to a phone call. Leave the field blank to hide it.

5. Set the selectors

  1. Open the header in the theme editor.
  2. Turn on Show country selector if you sell in more than one country. Turn on Show language selector if you have translated the store. See the translations guide.
  3. Save.

The selectors use the markets and languages that you set up in the Shopify admin.

6. Set the header behavior

Open the header in the theme editor and set these:

7. Use the mobile menu

On a phone, the menu button opens a drawer. The drawer uses the same main menu. Each top-level link with children opens to show its children. Third-level links appear inside each second-level group.

The drawer also has the Quick order link, when the page is set.

You can show up to three promotion cards in the main menu. Each card has an image, a short kicker, a heading and a link. The whole card is one link.

  1. In the theme editor, open the Header section.
  2. Select Add block and choose Menu promotion. Add up to three.
  3. Fill in the settings: - Top-level menu item: type the exact title of the top-level menu link the card belongs to, for example "Power tools". The title must match the menu link exactly. Leave it blank to show the card in every menu panel. - Image: use a clear image with the main subject in the centre. The image is cropped to a 4:3 frame. - Kicker: a short label above the heading, for example "New". - Heading: one short line, for example "Cordless drills on sale". - Link and Link text: where the card goes and the words shown under the heading, for example "Shop drills".
  4. Save and open the menu panel to check the card.

In a menu panel, the cards sit in a column on the right. The panel shows up to two cards for each top-level item. If you add more, the extra cards are hidden.

On a phone, the cards appear as a row of small cards at the end of the menu drawer. Swipe the row sideways to see all of them.

Each top-level menu link with children has a small arrow button next to it. Select the arrow to open that link's panel. Select it again, press Escape, or select anywhere outside the panel to close it. Only one panel is open at a time. On a computer, the panel also opens when you rest the pointer on the link for a moment.

Use Department panel layout in the Header section to choose how the panel looks:

A top-level link with no third-level links always uses the single column list, whichever layout you choose.

The All departments button still opens the index panel, which lists all three levels of the menu.

Check your setup

  1. Open the store on a computer. Confirm that the top row, main row and navigation row show.
  2. Select All departments. Move through the links. Confirm that three levels appear and that Escape closes the panel.
  3. Open the store on a phone. Open the menu drawer. Confirm that the child links open at each level.
  4. Select Change on the branch line. Choose a branch. Reload the page. Confirm that the branch line still shows your choice.
  5. Turn on Sticky header with Show on scroll up. Scroll down and then up. Confirm that the main row returns.

Settings used