> 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/footer-group/popup.md).

# Popup

Configure the Avante promotional popup: a timed overlay with newsletter signup, countdown timer, and promo codes.

A promotional overlay that appears on top of the page after a set delay. Use it for newsletter signups, discount codes, announcements, or any message you want to make sure visitors notice. Supports images, countdown timers, promo codes, and newsletter forms.

<figure><img src="https://795663372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6DraMvJNYYlFJqlho1aV%2Fuploads%2FEXcSjVJzulGmd9QDnN3H%2FGroup%202%20(36).jpg?alt=media&amp;token=29592fa7-472f-41d4-a5af-39264d56fbf8" alt=""><figcaption></figcaption></figure>

***

### How to find

**Theme Editor → Footer group → Popup**

<figure><img src="https://795663372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6DraMvJNYYlFJqlho1aV%2Fuploads%2FlF417LyJnGo0Jnzv4oyd%2FGroup%202%20(38).jpg?alt=media&amp;token=6eb8e530-a6dd-4d0e-8108-88ffaa9a7849" alt=""><figcaption></figcaption></figure>

***

### Display rules

| Setting                      | Options                                                            |
| ---------------------------- | ------------------------------------------------------------------ |
| Show                         | Immediately, 5 / 10 / 30 seconds delay, 1 minute delay             |
| Frequency                    | Once, Every 6 hours, Every day, Every 3 days, Every week, No limit |
| Show on home page only       | Toggle                                                             |
| Disable for registered users | Toggle                                                             |

{% hint style="warning" %}
**The popup is timed, and only timed.** **Show** is the whole trigger: it counts seconds from the moment the page loads. There is no scroll-depth trigger and no exit-intent trigger on this section. If you want the offer to wait until the visitor has actually read something, use [Flyout](https://staylime.com/docs/avante-themes/global-sections/footer-group/flyout.md) instead — it fires after 25%, 50%, 75% or 100% of the page has been scrolled, and carries the same blocks.
{% endhint %}

{% hint style="success" icon="lightbulb" %}
**Tip:** Set a delay of at least 5–10 seconds so visitors have time to see your store before the popup appears. Showing it immediately can increase bounce rate. Use **No limit** frequency while testing in Theme Editor — other settings won't trigger inside the editor.
{% endhint %}

***

### Blocks

Build the popup content by stacking blocks in any order:

**Newsletter form** — email signup with optional consent checkbox (GDPR). Set a custom placeholder, caption, and label.

**Promo code** — display a copyable discount code. Visitors can tap to copy.

**Countdown timer** — live countdown to a deadline. When it expires, choose whether to hide the timer or show a custom message. Supports animation and custom styling.

**Close button** — a styled button that dismisses the popup. Customize its label and style (solid, outlined, or link).

Other blocks include subheading, heading, text, button, image, inline image reveal, context image, social media, contact info, empty space, line, and custom Liquid.

<figure><img src="https://795663372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6DraMvJNYYlFJqlho1aV%2Fuploads%2FbOdjxfXrcKs9onLGpaV0%2FGroup%202%20(39).jpg?alt=media&amp;token=7e1e4e7b-15df-4d28-bf68-6b3c133412a8" alt=""><figcaption></figcaption></figure>

***

### Related

* [Flyout](https://staylime.com/docs/avante-themes/global-sections/footer-group/flyout.md) — the scroll-triggered slide-in alternative
* [Announcement Bar](https://staylime.com/docs/avante-themes/global-sections/header-and-navigation/announcement-bar.md) — persistent banner for promotions
* [News Drawer](https://staylime.com/docs/avante-themes/global-sections/header-and-navigation/news-drawer.md) — slide-out news feed


---

# 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/footer-group/popup.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.
