> For the complete documentation index, see [llms.txt](https://staylime.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://staylime.com/docs/avante-themes/global-sections/header-and-navigation/header.md).

# Header

Set up the Avante desktop header: logo, main menu, mega menu dropdowns, search, account and cart icons, sticky and transparent modes.

The main desktop navigation bar displayed at the top of every page. Includes your store logo, primary menu, mega menu dropdowns, search, account and cart icons, with support for sticky and transparent modes.

***

### How to find

**Theme Editor → Header** — near the top of the section list, on every page.

The Header section controls only the desktop navigation bar. Mobile navigation is handled by the separate [**Mobile Header**](https://staylime.com/docs/avante-themes/global-sections/header-and-navigation/mobile-header.md) section.

{% hint style="info" %}
Announcement bar, Header, Mobile header and Main sidebar are permanent parts of the layout, so they can't be dragged to another position or removed from the list. **More header sections** underneath them is the group that accepts extra sections — that's where Store selector drawer, News drawer and anything else you add below the header live.
{% endhint %}

***

### Logo

The Logo block starts in **Text** mode, showing your store name in a font and size you pick. Switch **Logo type** to **Image** to upload a file instead.

| Setting                          | What it does                                                                                                              |
| -------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| Logo type                        | **Text** (store name) or **Image** (uploaded file). Text is the default                                                   |
| Image                            | Your store logo                                                                                                           |
| Image for transparent navigation | Alternative logo shown while the navigation is transparent — typically a white or light version for dark hero backgrounds |
| Logo height                      | Height of the image logo, from 12 to 80 px                                                                                |

### **Enlarged logo**

**Enlarge logo** (off by default) scales the logo up at the top of the page, then returns it to the normal size once the visitor scrolls. The group sits on the Logo block under the heading **Enlarged logo**.

| Setting      | What it does                                                               |
| ------------ | -------------------------------------------------------------------------- |
| Enlarge logo | Turns the effect on. Off by default.                                       |
| Show on      | **Home page only** or **All pages**.                                       |
| Size         | How large the logo is while expanded, from 110% to 300% (200% by default). |
| Offset       | Extra space below the expanded logo, from 0 to 100 px (0 by default).      |

Secondary header uses the same **Enlarged logo** controls on its own Logo block. For phones, set them again on Mobile header — the desktop values do not carry over.

{% hint style="warning" %}
**Logo height here applies to the desktop header only.** [Mobile Header](https://staylime.com/docs/avante-themes/global-sections/header-and-navigation/mobile-header.md), [Main Sidebar](https://staylime.com/docs/avante-themes/global-sections/sidebar-navigation/main-sidebar.md) and Secondary sidebar each carry their own Logo block with its own height, so a logo that sits well on desktop can still come out oversized on phones. Check and set the height in each section separately.
{% endhint %}

{% hint style="success" icon="lightbulb" %}
**Tip:** Upload your logo as a PNG with a transparent background. This ensures it works cleanly on both default and transparent header states.
{% endhint %}

***

### Miscellaneous

To create or edit menus, go to **Shopify Admin → Content → Menus**.

The **Miscellaneous** block controls what appears in the header bar — menu links, search, cart, account, and other elements. Most settings are self-explanatory, but a few features are easy to miss:

{% columns %}
{% column %}
**Highlight menu items** — draw attention to specific links like "Sale" or "New In". Enter the menu item names (comma-separated) in the **Highlight menu item** field and pick a color. The matching links will stand out from the rest of the navigation.
{% endcolumn %}

{% column %}
**Search as a field** — instead of a small icon, you can display a full inline search bar directly in the header. Set **Search → Style** to **Field**.
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}
**Store selector** — if you run multiple regional stores, enable the store selector to let visitors switch between them. The selector content is configured in the **Store selector drawer** section in **More header sections**.
{% endcolumn %}

{% column %}
**News icon** — shows a bell or fire icon that opens the News Drawer. The drawer itself is configured separately in **More header sections**.
{% endcolumn %}
{% endcolumns %}

**Account** — with Shopify's new customer accounts enabled, the account icon opens Shopify's own account dialog. The links inside that dialog come from **Theme settings → Customer accounts → Menu**, which uses the `customer-account-main-menu` menu by default. The setting applies only when the account style is set to **Icon**, legacy accounts are not supported, and whether the account link is shown at all is managed in **Shopify Admin → Settings → Customer accounts**.

***

### Dropdown behavior

Two settings on the Header section decide how dropdowns — including both mega menu blocks — behave. **Open dropdown items on** is set to **Hover** by default, so panels open as the cursor passes over a menu item; switch it to **Click** if you prefer visitors to open them deliberately. **Show dropdown icon** is on by default and adds the small arrow next to every menu item that has a dropdown.

***

### Mega menu & Hover mega menu

The Header supports two advanced navigation blocks — **Mega menu** (multi-column layout with optional banner) and **Hover mega menu** (links with up to two banners and per-item visuals). Both are added via **Add block** inside the Header section.

For setup instructions, settings, and troubleshooting, see the dedicated guide: [**Mega menu & Hover mega menu**](https://staylime.com/docs/avante-themes/features-and-advanced-setup/mega-menu-and-hover-mega-menu.md).

***

### Sticky header

**Sticky header** is a three-way choice rather than an on/off switch, and it ships set to **On scroll to top**.

| Option           | Behavior                                                                                 |
| ---------------- | ---------------------------------------------------------------------------------------- |
| Disabled         | Header scrolls away with the page                                                        |
| On scroll to top | Header hides while the visitor scrolls down and reappears the moment they scroll back up |
| Always           | Header stays pinned at the top the whole time                                            |

**On scroll to top** is the usual compromise: navigation is one short swipe away, but long pages still get the full screen. Choose **Always** only when the header is compact — a tall header with a large logo takes up too much screen space when it is pinned permanently.

***

### Related

* [Mobile Header](https://staylime.com/docs/avante-themes/global-sections/header-and-navigation/mobile-header.md) — mobile-specific navigation
* [Menu Drawer](https://staylime.com/docs/avante-themes/global-sections/header-and-navigation/menu-drawer.md) — slide-out navigation panel
* [Appearance settings](https://staylime.com/docs/avante-themes/theme-settings/appearance.md) — navigation layout, sidebar mode, and transparent header
* [Transparent header](https://staylime.com/docs/avante-themes/features-and-advanced-setup/transparent-header.md) — full setup guide


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://staylime.com/docs/avante-themes/global-sections/header-and-navigation/header.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
