> For the complete documentation index, see [llms.txt](https://docs.strm.design/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.strm.design/reference/sections/announcement-bar.md).

# Announcement bar

A slim bar above the header that shows short store-wide messages one at a time, with optional automatic rotation.

A slim bar above the header that shows short store-wide messages one at a time, with optional automatic rotation.

**Where:** Header group (top of every page)\
**File:** `sections/announcement-bar.liquid`

![Announcement bar](https://2073252647-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUX7okZwFVjG38blUMwqg%2Fuploads%2Fgit-blob-2a1a19aceff9cd2dc295dbdd0df29d8ba3cde797%2Fannouncement-bar.png?alt=media)

## Section settings

| Setting                           | Type         | Options           | Default  | Notes                                                                                                        |
| --------------------------------- | ------------ | ----------------- | -------- | ------------------------------------------------------------------------------------------------------------ |
| **Color scheme**                  | Color scheme |                   | Scheme 3 |                                                                                                              |
| **Rotate messages automatically** | On / off     |                   | Off      | Rotation pauses on hover, on keyboard focus, for visitors who prefer reduced motion and in the theme editor. |
| **Time per message**              | Slider       | 3–10s, steps of 1 | 5s       |                                                                                                              |

## Blocks

### Announcement block

One message in the announcement bar, with an optional link.

| Setting  | Type                       | Options | Default              | Notes |
| -------- | -------------------------- | ------- | -------------------- | ----- |
| **Text** | Text (bold, italic, links) |         | Welcome to our store |       |
| **Link** | Link                       |         |                      |       |

## Presets

Add it from **Add section** as: **Announcement bar**.
