§10 / SECTIONS
REF: TG–DOC–10 · REV. 1.7
Header
The Header section sits in the header group at the top of every page. It shows the logo, the main menu, a search button, the customer account link, the cart button and, optionally, country/region and language selectors. On small screens the menu opens in a drawer.
TANGENT 1.7 / SHOPIFY OS 2.0 / UPDATED 2026-10-19
The announcement bar is a separate section (Announcement bar) in the same header group.
Setup
- In the theme editor, select Header in the header group.
- Choose a Layout and a Menu.
- Pick a Menu style. Use Mega menu with images to show each sub-item's collection or product image.
- Optional: add Menu promo or Product cards blocks. Type the menu item title in Menu item exactly as it appears in the menu (for example,
Women). - Set the logo in Theme settings > Logo and favicon. The logo is not a header section setting.
Logo
The logo comes from theme settings, not from the header section:
| Theme setting | Type | Default | Notes |
|---|---|---|---|
Logo (logo) | Image | — | Shop name is shown when empty. |
Logo over images (logo_inverse) | Image | — | Used over images (for example, a transparent header on a banner). |
Logo width (logo_width) | Range, 50–300 px | 120 px |
Section settings
| Setting | ID | Type | Default | Options / notes |
|---|---|---|---|---|
| Color scheme | color_scheme | Color scheme | scheme-1 | |
| Menu and search color scheme | menu_color_scheme | Color scheme | scheme-1 | Used by menus, the mobile menu and the search drawer. |
| Layout | header_layout | Select | Logo center, menu left |
|
| Sticky header | sticky_header | Select | Always |
|
| Show header over the first banner on the home page | transparent_home | Checkbox | On | Home page only. Works best when the page starts with an image or video banner. |
Navigation
| Setting | ID | Type | Default | Options / notes |
|---|---|---|---|---|
| Menu | menu | Menu | main-menu | Items with sub-menus open in the chosen menu style. |
| Menu style | menu_style | Select | Mega menu |
|
| Show product count on collection cards | menu_collection_count | Checkbox | Off | |
| Open menus on | menu_trigger | Select | Hover |
|
| Hover effect | menu_hover | Select | Underline |
|
| Menu text size | menu_text_size | Select | Small |
|
| Uppercase menu | menu_uppercase | Checkbox | Off | |
| Customer account menu | customer_account_menu | Menu | — | Passed to the account element as its menu. |
Mobile menu
| Setting | ID | Type | Default | Options |
|---|---|---|---|---|
| Sub-menus | mobile_menu_navigation | Select | Slide in |
|
| Menu width | mobile_menu_width | Select | Drawer |
|
| Menu text | mobile_menu_text | Select | Large |
|
Country and language
| Setting | ID | Type | Default | Notes |
|---|---|---|---|---|
| Show country/region selector | show_country | Checkbox | On | Add countries in Settings > Markets. |
| Show language selector | show_language | Checkbox | On | Add languages in Settings > Languages. |
The selectors appear in the header and in the mobile menu.
Blocks
Menu promo (promo, up to 12)
An image or video card shown inside a mega menu.
| Setting | ID | Type | Default | Options / notes |
|---|---|---|---|---|
| Menu item | menu_item | Text | — | Exact title of the top-level menu item, for example Women. |
| Media | media_type | Select | Image |
|
| Image | image | Image | — | Also used as the video's poster. |
| Video | video | Video | — | Shown when Media is Video. |
| Video playback | video_play | Select | Play muted when the menu opens |
|
| Aspect ratio | ratio | Select | Portrait |
|
| Heading | heading | Text | New season | |
| Caption | caption | Text | Shop now | |
| Link | link | URL | — |
Product cards (products, up to 12)
| Setting | ID | Type | Default | Notes |
|---|---|---|---|---|
| Menu item | menu_item | Text | — | The menu item the cards appear under. In the Showcase style, use a second-level item. |
| Heading | heading | Text | — | |
| Products | product_list | Product list | — | |
| Show star rating | show_rating | Checkbox | Off | Uses the rating a reviews app stores on the product. |
Structure
1Header (sections/header.liquid)2├── <site-header>3│ ├── Menu button (opens the mobile menu drawer)4│ ├── Logo (theme settings)5│ ├── Main menu (snippets/header-nav)6│ └── Utilities: search, country/language, dark-mode toggle*, account, cart7├── <menu-drawer> mobile menu, account, country/language, social links8└── <drawer-dialog id="SearchDrawer"> with <predictive-search>text
\*The dark-mode toggle shows only when Theme settings > Colors > Dark mode is set to the toggle option.
For developers
Last updated for Tangent 1.7