# Scroll to Top

The **Scroll To Top** button allows users to quickly return to the top of a webpage with a single click. This feature enhances the browsing experience on sites with longer content by saving time and reducing the effort required to manually scroll back up.

To show it on your site go to **Appearance** -> **Customize** -> **General** -> **Scroll to Top** and enable it first.

<figure><img src="/files/cf1BujXOni1zmvzl103F" alt="" width="345"><figcaption><p>How to enable <strong>Scroll to Top</strong> on your site</p></figcaption></figure>

After you enable it, it will be visible on entire site whenever the defined conditions for showing the button are met.&#x20;

You can choose to show the scroll to top button in three ways:

1. When user reaches **the footer**
2. When users scroll to certain percentage of the scroll
3. When users scroll a specific number of pixels

<figure><img src="/files/Hbobhqmjk6lcrUFqQrCU" alt="" width="327"><figcaption><p>When to show the <strong>Scroll to Top</strong> button</p></figcaption></figure>

You can set the button’s position on the screen and apply custom spacing as well. It can be rounded, square or any radius as well as your preferred colors:

<figure><img src="/files/Gj2nzPRSQfKEiSMzxUzY" alt="" width="333"><figcaption><p>The style of button</p></figcaption></figure>

There are additional options you can set, such as visibility on devices and preferred icon.


---

# 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://docs.kaliumtheme.com/other/scroll-to-top.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.
