# Sidebar

**Sticky (1)** makes the sidebar content to be fixed. When scrolling, the contents of your sidebar will remain fixed and will not disappear. The sticky function is applied only when the sidebar content is not higher than the height of the browser viewport.

**Force sticky (2):** The sticky function only works if all parent elements do not use the "overflow:hidden" CSS property. There are extensions that set this property. If active, the sticky function will be enforced and all parent elements with "overflow: hidden" will be rewritten to "overflow: visible".

<figure><img src="/files/BOHOOZjs4eDrS6aYZkHM" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://themedocs.zenit.design/en/styling/components/sidebar.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
