> 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/sidebar-navigation/main-sidebar.md).

# Main Sidebar

Configure a persistent side navigation panel with multi-level menus, logo, search, and social icons as an alternative to the top header.

A persistent vertical navigation panel displayed on the left or right side of the screen, replacing or supplementing the traditional top header. Supports your full menu tree, logo, search, social links, newsletter, and much more — essentially a complete navigation system in sidebar form.

<figure><img src="broken://files/9hVmTI9AzsxI8y11Nts9" alt=""><figcaption></figcaption></figure>

***

### How to find

**Theme Editor → Main sidebar**

The section only appears in the editor once your store is actually using sidebar navigation. To switch, go to **Theme Settings →** [**Appearance**](https://staylime.com/docs/avante-themes/theme-settings/appearance.md) and set **Navigation layout** to **Sidebar-based** — the desktop [Header](https://staylime.com/docs/avante-themes/global-sections/header-and-navigation/header.md) drops out of the list and Main sidebar takes its place. Turn on **Show header** in the same group if you want a slim bar across the top in addition to the sidebar.

***

### Blocks

Main Sidebar supports 19 block types — the widest selection of any navigation section. A few that stand out:

**Banner** — works like a sidebar version of Mega menu. Set a **Dropdown link** that matches a menu item, and when a visitor hovers over that item, a promotional banner with an image, heading, and link appears alongside the menu. Great for visual storytelling in the navigation.

<figure><img src="broken://files/AkaOTnnL88KHY3aMqq5c" alt=""><figcaption></figcaption></figure>

**Nested menu** — adds images to individual child menu items. Enter a **Dropdown link** to match a parent item, then assign an image to each child link (up to 10). Turns a plain text menu into a visual category browser.

<figure><img src="broken://files/UctlqhuydfhvC0GW1aAh" alt=""><figcaption></figcaption></figure>

**Back to top** — a button that scrolls visitors back to the top of the page. Especially useful in sidebar navigation since the header isn't at the top in the traditional sense.

**Newsletter** — add an email signup form directly in the sidebar, visible on every page.

**Contact info** — phone and email displayed in the sidebar, always accessible.

{% hint style="info" %}
The sidebar carries its own **Logo** block with its own height, independent from the one in the desktop [Header](https://staylime.com/docs/avante-themes/global-sections/header-and-navigation/header.md).
{% endhint %}

***

### Related

* [Secondary Sidebar](https://staylime.com/docs/avante-themes/global-sections/sidebar-navigation/secondary-sidebar.md) — optional second sidebar on the opposite side
* [Appearance settings](https://staylime.com/docs/avante-themes/theme-settings/appearance.md) — switch between header and sidebar navigation
* [Header](https://staylime.com/docs/avante-themes/global-sections/header-and-navigation/header.md) — traditional top navigation


---

# 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/sidebar-navigation/main-sidebar.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.
