Skip to main content

Header

Section class: section-header

Supported blocks​

  • _mega_menu
  • _mega_blog
  • _searchbar

Settings​

SettingIDTypeDefaultDescription
Sticky headerenable_stickycheckboxtrue
Transparent on bannertransparent_on_bannercheckboxtrue
Always solid on templatessolid_on_templatestextproduct, cart, search, 404Comma separated template names that have no banner below the header, so the header keeps a white background. Example: product, cart, search, 404
Logo height (desktop)logo_height_desktoprange48
Logo height (mobile)logo_height_mobilerange32
Container padding classespadding_classestextpy-4 px-6Padding classes for the header container. Tailwind only (e.g. py-4 px-6). Spacing scale: 0-10, plus 15 and 20.
Zone order (desktop)layout_ordertextlogo,menu,iconsComma-separated zone order. Values: logo, menu, icons
Center zone alignment (desktop)center_alignmenttext_alignmentleft
Icon order (desktop)icons_ordertextcurrency,language,contact,account,search,cartComma-separated icon order on desktop. Available: currency, language, contact, email, account, search, cart, facebook, twitter, instagram, linkedin, pinterest, tiktok, youtube, whatsapp, vimeo, twitch, threads, discord, mastodon, snapchat, spotify, wechat
Show desktop navigationenable_desktop_menucheckboxtrue
Main menumain_menulink_listmain-menu
Customer account menucustomer_account_menulink_listLinks shown inside the <shopify-account> sheet once the component can load them. Leave it empty (default) to use the component's built-in Orders and Profile links, which also keeps the browser console free of shopify-account menu errors.
Show cart count badgeshow_cart_countcheckboxtrue
Show country flags on currencyshow_currency_flagscheckboxfalseWhen on, the currency dropdown renders a national flag (emoji) before each option and the current selection.
Show country name on currencyshow_country_namecheckboxfalseWhen on, the currency dropdown shows the country name before the currency, e.g. United States $ USD.
Show country flags on languageshow_language_flagscheckboxfalseWhen on, the language dropdown renders a national flag (emoji) before each option and the current selection.
Zone order (mobile)mobile_layout_ordertextlogo,icons,menuComma-separated zone order for mobile. Values: logo, icons, menu
Center zone alignment (mobile)mobile_center_alignmenttext_alignmentcenterAlignment of the icons zone on mobile. Outputs: justify-start / justify-center / justify-end
Icon order (mobile)icons_order_mobiletextaccount,search,cartComma-separated icon order on mobile. Order here controls sequence between logo and menu button. Available: currency, language, contact, email, account, search, cart, facebook, twitter, instagram, linkedin, pinterest, tiktok, youtube, whatsapp, vimeo, twitch, threads, discord, mastodon, snapchat, spotify, wechat
Footer icons (Mobile overlay)mobile_footer_iconstextareafacebook,twitter,instagramComma-separated items shown in the overlay footer bar. A lone dash (-) between items — or pressing Enter for a new line — starts a new row. Leave empty to inherit from Icon order (mobile). Available: currency, language, contact, email, account, search, cart, facebook, twitter, instagram, linkedin, pinterest, tiktok, youtube, whatsapp, vimeo, twitch, threads, discord, mastodon, snapchat, spotify, wechat
Contact title (optional)contact_titletextHOW CAN WE HELP?
Contact email (leave empty to hide)contact_emailtext

Presets​

  • Header

💡 Edit via Shopify Admin → Online Store → Themes → Customize.