# Announcement bar

The **Announcement bar** displays rotating announcements at the top of every page. Let customers know about current promotions, new products, or other need-to-know updates with links to more info.

* Add up to 3 announcement messages
* Change time between announcements
* Make announcment bar "sticky" on pages

## Add announcements

***

Add up to 3 announcements with optional links and custom colors. For multiple announcements, you can **set the time between announcements** when rotating.

<details>

<summary><mark style="color:blue;"><strong>STEPS</strong></mark></summary>

In your theme editor (**Customize**):

1. Click the arrow beside the **Announcement bar** section to reveal the announcement blocks.
2. Click **(+) Add announcement** to add up to 3 announcements.

   > Click **Remove block** in the block settings to delete an announcement.
3. Click on an **Announcement block** to open the settings.

   ![](https://github.com/fluorescent/kb-stiletto/blob/main/.gitbook/assets/utility-blocks-settings.jpeg)
4. Enter your **Announcement text** as a message to your customers.

   > We recommend entering no more than 10 words.
5. (*Optional*.) Click the **Announcement Link** field to select a page from your online store or enter a URL to direct customers to another page.
6. (*Optional*.) Change the **Background color** and **Text color** of the announcement.

   > We recommend using WebAIM's [contrast checker](https://webaim.org/resources/contrastchecker/) when matching colors to make sure your text is clear and readable for everyone.
7. Click **Save**.

</details>

&#x20;

## Set time between announcements

***

By default, multiple announcements rotate every **5** seconds. You can choose to display each message between **3** to **15** seconds. Announcements with more words may need more time for customers to read them.

<details>

<summary><mark style="color:blue;"><strong>STEPS</strong></mark></summary>

In your theme editor (**Customize**):

1. Click the **Announcement bar** section to open the section settings.
2. Move the slider to set the time between announcements from **`3`** to **`15`** seconds.

   > Announcements will pause when customers hover over the announcement bar.
3. Click **Save**.

</details>

&#x20;

## Sticky announcement bar

***

Choose to make the announcement bar "sticky" and remain visible at the top of the page as visitors scroll down. This setting applies only when the **Enable sticky header** option in the [Header settings](https://help.fluorescent.co/stiletto/pages/header) is selected.

<details>

<summary><mark style="color:blue;"><strong>STEPS</strong></mark></summary>

In your theme editor (**Customize**):

1. Click the **Header** section to make sure the **Enable sticky header** option is selected.
2. Click the **Announcement bar** section to open the settings.
3. Select an **Enable sticky annoucement bar** option.

   > Choose to make the announcement bar sticky on **Desktop**, **Mobile**, **Both**, or **Never**.
4. Click **Save**.

</details>

![](https://2417329470-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fhnqe0uck0ozZhJ77wGXt%2Fuploads%2Fgit-blob-87a2f041fa765075daffa5186f0f50b63bedb558%2Fannouncement-sticky.png?alt=media)

## Settings reference

Click on the **Announcement blocks** to find the following settings:

<table><thead><tr><th width="285">Setting</th><th>Description</th></tr></thead><tbody><tr><td>Announcement text</td><td>Enter a short sentence as a storewide message. We recommend between 4 and 8 words.</td></tr><tr><td>Announcement link</td><td>Select a page to direct customers to when they click the announcement text.</td></tr><tr><td>Enable sticky announcement bar</td><td>Choose to fix the Announcement bar to the top of the screen or window so it remains visible when visitors scroll down the page. This option applies only when the sticky header is enabled.</td></tr></tbody></table>

***

> **Related links**
>
> [Header](https://help.fluorescent.co/stiletto/pages/header)
