> 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

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="/files/8pmMuXnOSwAJqd1Arbat" 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="/files/kGmtWbrAjEmNaEEznNIm" 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
