For the complete documentation index, see llms.txt. This page is also available as Markdown.

Header

The header is a section at the top of your website that appears on every page.

The header holds your store's logo, main menu and icons like search, account and cart. It can also show social media icons, a country/region and language selector and a button. It plays a key role in branding and helps visitors find their way around your store.

1. Section settings

Click the Header section in the theme editor to open its settings.

General

  • Color scheme: Choose the colors of the header.

  • Cart icon: Choose how the cart shows in the header. Options: Cart, Bag or Text. Text shows words instead of icons for the cart and account links.

  • Sticky header: Choose how the header behaves when customers scroll.

    • None: The header scrolls away with the page.

    • On scroll up: The header hides when customers scroll down and slides back in as soon as they scroll up.

    • Always: The header stays fixed at the top of the screen at all times.

  • Separator line: Add a line below the header. Options: None, Full width padded or Full width.

  • Show social media icons: Show your social media icons in the header and in the mobile menu. Add your links in Theme settings > Social media and include the full URL (e.g., https://).

Note: The style of the header icons (search, account, cart or bag, notifications) is set in Theme settings > General under Icon set.

Search

Notifications

Logo

1

Logo image

Click Logo image and select or upload your logo file. Use Custom logo width (50–350px) to resize the logo on desktop and Custom mobile logo width (50–150px) to resize it on mobile. We recommend a logo image with a transparent background.

Note: The name of your store displays when no logo image is uploaded. The logo height changes to match the width.

2

Desktop logo position

Choose where the logo sits on desktop:

  • Middle left: Classic layout with the logo on the left.

  • Middle left, menu centered: Logo on the left, menu in the center for balanced branding.

  • Top left: Logo at the top left, with the menu on its own row.

  • Top center, menu centered below or Top center, menu centered above: Logo at the top center, with the menu centered below or above it. Ideal for symmetrical or luxury brand looks.

  • Middle center: Logo in the center of the header, perfect for minimal layouts or a strong brand focus.

3

Mobile logo position

Choose Left to show the logo on the left or Center to place it in the middle.

Transparent header

Make the header background transparent at the top of the page, so it sits over your first section. You choose which page types use it (home page, collection pages, product pages) and can set a separate logo and text color. See Transparent header.

Country/region selector

  • Enable country/region selector: Let customers choose their country and see prices in their currency. The list shows the countries and currencies set up in your Shopify Markets settings.

  • Show country flag: Show a flag next to each country.

Language selector

  • Enable language selector: Let customers choose their language. Add and publish languages in your Shopify admin first.

Note: In the header, the country/region and language selectors only show when the Desktop logo position is set to one of the Top center options. For screen widths between 1024px and 1300px, they display in a compact format.

Highlight

  • Enable header item highlight: Turn on to give chosen menu items a different color.

  • Menu header to highlight: Enter the exact name of the menu item(s) you'd like to highlight (e.g., Sale). Separate items with commas.

  • Highlight color: Choose the color for highlighted items.

Section

  • Top padding, Bottom padding and Section width (Page width or Full width padded).

Note: Padding, section width, section header and color settings work the same in every section. See Common settings.

2. Header blocks

Click Add block inside the Header section to add these blocks.

  • Main menu (1 per header)

    • Menu: Choose the menu to show in the header. Create menus in your Shopify admin under Content > Menus.

    • Open menu on hover: Open dropdowns when customers hover over a menu item, instead of on click.

    • Mega menu > Menu item(s): Enter the name of the menu item(s) that should open as a wide mega menu. Separate items with commas. See Mega menu.

  • Menu promotion card (up to 6): Show an image card with a heading and description inside a mega menu. See Menu promotion card block.

  • Menu full width banner (1 per header): Show a wide banner under the menu items of a mega menu. See Menu full width banner block.

  • Hero banner (1 per header): Show a large image or video with scrolling text, a logo or a heading at the top of your store. See Hero banner block.

  • Button (1 per header): Add a call-to-action button next to the header icons. The button shows on desktop only.

    • Icon: Choose an icon to show before the label, including social media icons, or None.

    • Button label: The text on the button. The button is hidden if this is empty.

    • Button link: Where the button goes.

    • Button style: Options: Solid or Outline.

    • Open link in new tab: Open the link in a new browser tab.

    • Color scheme: Choose the button colors.

3. Sub-articles

Menu promotion card blockMenu full width banner blockHero banner blockTransparent headerMega menuCustomer accountSearch

Last updated