Liane docs › Sections › Header and footer
Header
Part of the header on every page. Find it in the theme editor under Header.
The Header sits at the top of every page, under the announcement bar. It holds your logo or store name, the main menu, and the search, account and cart icons, and the line sets out from it. The Liane and Marelle presets place the logo on the left, Calame in the center.
The search icon opens a search panel. With Theme settings › Search › Show search suggestions on, it suggests products, collections, articles and pages as customers type. The account icon shows when customer accounts are on in Settings › Customer accounts; with new customer accounts it opens Shopify’s account sheet, which lists your Customer account menu. The cart icon opens the cart drawer when Theme settings › Cart › Cart type is Drawer, and the cart page otherwise.
The search panel and the menu drawer take their colors from Theme settings › Colors › Page color scheme, not from the header’s Color scheme.
Menus
- A top-level item with links under it opens a dropdown when clicked and doesn’t link anywhere itself, so put its own page inside the dropdown if customers need it.
- When a second-level link has links of its own, the dropdown becomes a mega menu with one column per such link. A column of color names gets a color patch beside each name.
- The Menu feature picture and link show in the first dropdown.
- Items that don’t fit the row move into a More list. If three items still don’t fit, the menu moves into the menu button, as it always does below 1100px.
- The phone menu adds the Drawer collection, the Drawer menu (leaving out links the main menu already shows) and the country and language selectors.
The menus guide covers building menus with three levels.
Settings
| Setting | What it does | Default |
|---|---|---|
| Color scheme | Scheme 1 | |
| Menu | Items that don’t fit on the row move into a More list. Below 1100px the menu opens from the menu button. | “main-menu” |
| Logo position on large screens | Left | |
| Sticky header | On scroll up: the header leaves as customers scroll down the page and comes back as soon as they scroll up. | On scroll up |
| Search field example | Shows in the empty search field. Suggest a few things customers can search for. | |
| Menu feature | ||
| Image | ||
| Link label | ||
| Link | ||
| Menu drawer | ||
| Drawer collection | ||
| Drawer menu | “footer” | |
| Customer accounts | ||
| Customer account menu | The links in the account sheet that opens from the account icon | “customer-account-main-menu” |