> 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.md).

# Header & Navigation

Configure Avante's header components: desktop and mobile headers, announcement bar, menu drawer, cart drawer, news drawer, breadcrumbs, and anchor links.

The header is the first thing visitors see on every page. Avante provides a flexible set of header components that work together — from the main desktop navigation and mobile menu to the announcement bar and breadcrumbs.

<figure><img src="https://795663372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6DraMvJNYYlFJqlho1aV%2Fuploads%2FpTFyhzxh3v22Dlx3qwJ2%2FGroup%2013%20(1).jpg?alt=media&amp;token=dbe99c40-3de6-4487-b378-c98b57da799a" alt=""><figcaption></figcaption></figure>

This section covers:

| Section                                                                                           | What it does                                                                             |
| ------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
| [Header](/docs/avante-themes/global-sections/header-and-navigation/header.md)                     | Desktop navigation with logo, main menu, mega menu, search, account, and cart            |
| [Mobile Header](/docs/avante-themes/global-sections/header-and-navigation/mobile-header.md)       | Mobile-optimized header with hamburger menu and condensed layout                         |
| [Announcement Bar](/docs/avante-themes/global-sections/header-and-navigation/announcement-bar.md) | Slim promotional strip above the header with rotating messages and countdown timers      |
| [Menu Drawer](/docs/avante-themes/global-sections/header-and-navigation/menu-drawer.md)           | Slide-out navigation panel for mobile and optional desktop use                           |
| [Cart drawer](/docs/avante-themes/global-sections/header-and-navigation/cart-drawer.md)           | Slide-out cart panel with product list, recommendations, and success notification        |
| [News drawer](/docs/avante-themes/global-sections/header-and-navigation/news-drawer.md)           | Slide-out side panel for news and announcements, triggered by a persistent page-edge tab |
| [Anchor Link](/docs/avante-themes/global-sections/header-and-navigation/anchor-link.md)           | Invisible scroll target for smooth in-page navigation                                    |
| [Breadcrumbs](/docs/avante-themes/global-sections/header-and-navigation/breadcrumbs.md)           | Standalone breadcrumb trail section with custom styling                                  |

Header, Announcement Bar, and Breadcrumbs are configured in the **Header group** in the Theme Editor. Menu Drawer, Cart Drawer, and News Drawer appear as standalone sections below the group.

<figure><img src="https://795663372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6DraMvJNYYlFJqlho1aV%2Fuploads%2FriRj1aFpMEzxz5tzFeix%2FGroup%2013.jpg?alt=media&amp;token=606d1b65-bbc6-45c3-b809-4bf0d8c17de0" alt=""><figcaption></figcaption></figure>


---

# 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.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.
