# Announcement bar

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FJYDVb1IAF3P2etILd9wH%2Fimage.png?alt=media&#x26;token=7c9c7a04-6787-4ec4-b4de-aea8cec24e79" alt=""><figcaption></figcaption></figure>

An announcement bar is a short snippet where you can showcase a message to your site. Using an announcement bar on your website is one of the easiest ways to draw visitors' attention.

You might add an announcement bar to highlight the following information:

* shipping information,
* new stock alerts,
* any promotions, such as sales or new gift cards, etc.

In this article, we will show you how to add an Announcement bar section.

## How to add an Announcement bar section to your Shopify store

{% hint style="success" %}
Steps:

1. In the theme editor (**Customize**),> click **Add section.**
2. Select the **Announcement bar.**
3. Make necessary changes.
4. **Save** the setting&#x73;**.**
   {% endhint %}

## How to edit an Announcement bar section

### Section settings

Adjust the **Color scheme** for this section.

{% hint style="info" %}
In Shopify, the [Color scheme](https://help.shopify.com/en/manual/online-store/themes/theme-structure/color-scheme) (a set of colors) of your store can be set within the [Theme settings](https://help.shopify.com/en/manual/online-store/themes/theme-structure/theme-settings). It helps group elements and their respective colors, making your store visually appealing and cohesive. You can apply the color schemes to different sections throughout your online store with a color scheme picker.&#x20;
{% endhint %}

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2F7uwWcEoWTEao0ZUJzW6G%2Fimage.png?alt=media&#x26;token=3822eaca-9ec6-4c24-99c8-41438a95cae6" alt=""><figcaption></figcaption></figure>

* **Desktop content width**: Determine the width of the announcement content on the desktop (20% - 100%).
* **Auto-rotate announcements**: Change the announcement slides automatically (when there are 2 announcements or more) across the browser or device.
* **Change every**: Set a duration for the slider to change every 3-10s (when the **Auto-rotate slides** option is enabled).

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FR5TI0cYCEHyN4cirHUha%2Fimage.png?alt=media&#x26;token=3e29caec-60af-4adc-b65e-8c1180e66989" alt=""><figcaption></figcaption></figure>

#### **Section padding**

You can modify the spacing above and below the section by adjusting the slider to change the values of the **Top padding** and **Bottom padding**.

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FDBzfsvvuEWnCv1BruzJJ%2Fimage.png?alt=media&#x26;token=88c3468a-8c58-4f82-bf78-6e9a8ba80954" alt=""><figcaption></figcaption></figure>

### Block settings

#### Announcement

* **Text**: Input the information needed.
* **Link**: Direct customers to a specific page when clicking the bar.

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2F2mPFioAhUcusGge9t9vD%2Fimage.png?alt=media&#x26;token=bd269f0c-012d-4b85-a875-3eaf2dde8a95" alt=""><figcaption></figcaption></figure>

#### Countdown timer

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FPvzLFd4JwWKwsuUQwwAc%2Fimage.png?alt=media&#x26;token=df50ea9b-b040-4f92-9a73-426abd4083cb" alt=""><figcaption></figcaption></figure>

Add a countdown timer block and adjust the end time of the event.

The **Countdown type** offers two modes:

* **Evergreen**: A repeating countdown that resets after a specified duration (e.g., every month).
  * This is useful for recurring sales, daily deals, or subscription cycles.

{% hint style="warning" %}
The Evergreen setting is only available in Sleek **version 1.8.0 and above**. ✨

See [Changelog](https://docs.foxecom.com/sleek-theme/changelog).
{% endhint %}

* **Fixed time**: A one-time countdown that ends at a specific date and time.
  * Ideal for limited-time promotions, event registrations, or product launches.

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2F3FRFsK1MnHs1ipzsoONp%2Fimage.png?alt=media&#x26;token=13a23ee0-dfcd-405b-b557-4451cb7eaf62" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
If you choose the **Evergreen** countdown, you must specify the **Duration** for when the timer should reset.

**Duration** determines how often the countdown restarts.
{% endhint %}

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FtzdlJldUhxA7cZr22kT6%2Fimage.png?alt=media&#x26;token=ba5cd848-24f2-418d-b8bf-80592c3f993e" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
If you choose the **Fixed time** countdown, you need to specify when the countdown should end.

Enter the exact date and time in the **Ends time** field when the countdown should stop.
{% endhint %}

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FQ5SbbAEV0yXZFAU4CXge%2Fimage.png?alt=media&#x26;token=89429556-c323-4932-9b2e-5ad61fd4b31f" alt=""><figcaption></figcaption></figure>

*Date formats accepted:*

| Name           | Format              | Example             |
| -------------- | ------------------- | ------------------- |
| 24 hour format | YYYY/MM/DD HH:MM    | 2023/10/04 23:30    |
| 12 hour format | YYYY/MM/DD HH:MM aa | 2023/10/04 11:30 PM |

Insert the heading or content of the event in the **Text** field.

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2F9b3iJzP90YFjMMqUOuWE%2Fimage.png?alt=media&#x26;token=bf092457-11e2-45e4-bb17-0cf1f9bb62c7" alt=""><figcaption></figcaption></figure>

You can also display a call-to-action button next to the countdown timer to redirect customers to your desired pages.

Add a **Label** and **Link** for one or both, then choose a **Button style** (Primary button/ Secondary button/ Underline button)**.**

<figure><img src="https://3064615700-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3yE7VVjvl0MgK6awOPKB%2Fuploads%2FS6fuxwjiRVfHZUsLpNu5%2Fimage.png?alt=media&#x26;token=32953fc5-ae42-449e-a3b3-8aa9da6d21bd" alt=""><figcaption></figcaption></figure>

## Best practices

:white\_check\_mark: Do:

* Use short texts (make sure you try your store on mobile, where it is narrower).
* Limit the number of rotating texts to 2 or 3. While you can use more, your customers probably won't see them.

:no\_entry: Don't:

* An announcement bar can be easy to miss due to its small size. Therefore, avoid using the announcement bar for critical information. Instead, use a bigger section in the page.
