# Announcement bar

{% hint style="danger" %} <mark style="color:red;">Theme retirement</mark> | Context is no longer available on the Shopify theme store. **Theme support and updates for current users will end after May 18, 2024**. [Learn more here](/context/readme/theme-retirement.md).
{% endhint %}

The **Announcement bar** displays up to 3 rotating announcements at the top of every page. Let customers know about current promotions or sales, new product lines, or other need-to-know updates with optional links to other 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;">STEPS</mark></summary>

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

1. Click the arrow beside the **Announcement bar** section to reveal the announcement blocks.

   ![](/files/wDIzaVDoA82qIDZY2lR6)
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 block settings.
4. Enter your **Announcement text** as a message to your customers.

   > We recommend using 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>

## Set time between announcements

By default, multiple announcements will 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;">STEPS</mark></summary>

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

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

   ![](/files/PkaRaminD7cgW1t58npF)

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

</details>

## Hide announcement bar

The **Announcement bar** automatically hides when there are no announcements.

<details>

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

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

1. Click the eye icon next to each announcement block or click **Remove block** in the block settings.

   ![](/files/dMtkRfpF0ltw6GcXf4ln)
2. Click **Save**.

</details>

## Settings summary

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

| Setting           | Description                                                                     |
| ----------------- | ------------------------------------------------------------------------------- |
| Announcement text | Enter a short sentence as a storewide message. We recommend less than 10 words. |
| Announcement link | Select a page to direct customers to when they click the announcement text.     |
| Background color  | Select a color for the entire announcement bar background.                      |
| Text color        | Select a color for the announcement text.                                       |

Click on the **Announcement bar** section to find the following settings.

| Setting                    | Description                                                           |
| -------------------------- | --------------------------------------------------------------------- |
| Time between announcements | Increase or decrease the amount of seconds to show each announcement. |

<br>

***

> **Related links**
>
> [Header](/context/pages/header.md)


---

# 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://help.fluorescent.co/context/pages/announcement-bar.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.
