> 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/theme-settings/animation.md).

# Animation

Theme-wide motion settings: reveal on scroll, animation speed, page fade-in, image loading effects, link hover effects, and the default banner background animation.

Every setting here applies to the whole store. Sections that have their own animation options use these values unless you change them in the section.

{% hint style="info" %}
**Theme Editor → Theme settings → Animation**
{% endhint %}

***

### **Key settings**

**Enable reveal animation** fades sections, cards, and text into view as the customer scrolls. It is off by default. See [Reveal animation](/docs/avante-themes/features-and-advanced-setup/reveal-animation.md).

**Animation duration** sets the pace of the theme's motion, such as drawers and hover effects. **Basic** is quicker. **Smooth** is slower.

**Banner background animation** sets the default scroll effect for image and video backgrounds in banner sections: **Static**, **Parallax**, **Sticky**, **Zoom in**, or **Zoom out**. It is **Static** by default, so backgrounds stay still until you choose an effect. See [Background animation](/docs/avante-themes/features-and-advanced-setup/background-animation.md).

***

### **Good to know**

**Preload links on hover** loads the pages of links visible on screen in the background, while the browser is idle, so they open faster after a click. Links to the cart, checkout, account, and other sites are skipped. It is on by default and does not run in the theme editor.

**Fade-in animation on load** and **Enable reveal animation** can be on together. Set **Fade-in area** to **Main content** so the header appears at once and only the content fades in.

Customers with **Reduce motion** turned on in their system see the reveal and background effects without movement.

***

### **All settings**

<details>

<summary>General</summary>

* **Enable reveal animation** — content fades in as the customer scrolls. Off by default.
* **Animation duration** — **Basic** or **Smooth**.
* **Enable drawer animations** — the cart, menu, and other drawers slide open and closed. On by default.
* **Enable anchor links smooth scroll** — smooth scrolling to anchor links on the same page: **Disable**, **On desktop**, **On mobile**, or **Both**. **Both** is the default.

</details>

<details>

<summary>Pages</summary>

* **Enable fade-in animation on load** — the page fades in once, when it opens. Off by default.
* **Fade-in area** — **Entire page** or **Main content**.
* **Fade-in duration** — from 0.5 to 1.5 seconds. The default is 1 second.

</details>

<details>

<summary>Buttons and links</summary>

* **Enable zoom** — buttons scale up slightly on hover. Off by default.
* **Enable animated underline** — the underline of text links draws in on hover. On by default.
* **Enable rolling hover for menu items** — menu labels roll on hover. On by default.
* **Preload links on hover** — pages of links visible on screen load in the background, before the click. On by default.

</details>

<details>

<summary>Images</summary>

* **Lazy loading** — how images appear as they load: **Disable**, **Pixelate**, **Blur-up**, or **Fade-in, scale-out**. **Disable** is the default.
* **Duration** — **Basic** or **Smooth**.
* **Delay** — a pause before the effect starts, from 0 to 0.5 seconds.

</details>

<details>

<summary>Banner background animation</summary>

* **On scroll** — **Static**, **Parallax**, **Sticky**, **Zoom in**, or **Zoom out**.
* **Direction** and **Speed** — for **Parallax**. Speed runs from −30 to 30. A negative value moves the background the other way.
* **Zoom** — for **Zoom in** and **Zoom out**, from 105% to 150%.
* **Enable custom animation on mobile** — separate direction, speed, and zoom for screens up to 920px wide.

Each banner section has its own **Animation** setting: **Default** uses these values, **Disable** turns the effect off, and **Customize** sets the section's own effect.

</details>


---

# 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/theme-settings/animation.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.
