Key Features
- Flexible Positioning: Position logo, menu, search, and localization in custom layouts
- Transparent Header: Support for transparent headers on home, product, and collection pages
- Sticky Header: Choose between always sticky, scroll-up sticky, or never sticky
- Two-Row Layout: Split header elements across top and bottom rows
- Mobile Navigation Bar: Optional horizontal scrolling navigation for mobile
- Mega Menu Support: Rich dropdown menus with images, products, and collections
Header Configuration
Layout Settings
The header uses a three-column grid system (left, center, right) that you can configure:- Logo Position
- Search Position
Configure where the logo appears in the header:Options:
left- Logo on the left sidecenter- Logo in the center (default)right- Logo on the right side
logo_positionTwo-Row Header
Split header elements across two rows for more layout flexibility:menu_row: Place menu intoporbottomrowsearch_row: Place search intoporbottomrowlocalization_row: Place language/country selector intoporbottomrow
Transparent Header
Enable transparent headers that overlay page content:- Home Page
- Product Page
- Collection Page
Settings:
enable_transparent_header_home- Enable transparency on homepagehome_color_scheme- Choosedefaultorinversecolor scheme
When both transparent and sticky headers are enabled, transparency is disabled when the header becomes sticky.
Sticky Header
Control when the header sticks to the top of the viewport:enable_sticky_header):
always- Header always stays at top (default)scroll-up- Header appears when scrolling upnever- Header scrolls normally
Header Actions
The header actions include search, cart, and account icons.Action Display Styles
Choose between icon or text display:actions_display_style:iconortextactions_font_size: 12px to 18px (when using text)actions_font: Choose font familyactions_text_case:noneoruppercase
Localization
Display language and country/currency selectors:Localization Settings
- Country/Currency
- Language
- Typography
Settings:
show_country- Display country/currency selectorcountry_selector_style- Show flag icon
Appearance Settings
Section Dimensions
Borders and Dividers
Bottom Border:border_width: 0-5px, 0.5px increments
divider_width: Thickness between top and bottom rows (0-5px)divider_size:page-widthorfull-width
Color Schemes
Mobile Behavior
On mobile devices (< 750px), the header automatically switches to a drawer menu:Mobile Grid Layout
The mobile header uses a 5-column grid:Schema Settings
Complete Settings List
Complete Settings List
JavaScript API
The header component is loaded atheader.js and provides:
Custom Events
The header responds to scroll events and manages:- Sticky state transitions
- Transparent to solid color transitions
- Submenu height calculations
- Mobile drawer state
Related Components
- Navigation - Menu and mega menu configuration
- Search - Search modal and predictive search