# Announcement bar

Tell every visitor about free shipping, a sale, or store news before they start browsing. The **Announcement bar** shows short messages or a countdown timer at the very top of your store, above the header. Add more than one message to rotate between them.
## How to add Announcement bar
1. Go to **Online Store > Themes** in your Shopify admin.
2. Click **Edit theme** next to Hyper.
3. Click **Add section** under **Header** in the sidebar.
4. Select **Announcement bar**.
5. Click **Add block** under **Announcement bar**.
6. Select **Announcement** or **Countdown timer**.
7. Enter your message in **Text**.
8. Click **Save**.
If **Announcement bar** is already in the **Header** group, click it to edit it instead.
## Section settings
| Setting | Description | Options |
| ------------------------- | ----------------------------------------------------------- | -------------------------------------------------------------------------------- |
| **Color scheme** | The background and text colors of the bar. | Select one of your [color schemes](https://docs.foxecom.com/hyper-theme/theme-settings/colors). |
| **Desktop content width** | How wide the bar's content is on screens wider than 1280px. | **20–100%.** |
| **Auto-rotate content** | Switches between your messages automatically. | **On** or **Off**. |
| **Change slides every** | How long each message stays before the next one shows. | **3–10 s.**
*Works when **Auto-rotate content** is on.* |
| **Top padding** | The space above the bar's content. | **0–50 px.** |
| **Bottom padding** | The space below the bar's content. | **0–50 px.** |

## Block settings
The bar has two block types: **Announcement** for a message, and **Countdown timer** for a message with a timer. To add a block, click **Add block** under **Announcement bar** in the sidebar.
### Announcement
| Setting | Description | Options |
| -------- | ----------------------------------------------------- | ------------------------------------------------------------------------------------------ |
| **Text** | The message shown in the bar. | Enter text, such as `Welcome to our store`. You can make it bold or italic, or add a link. |
| **Link** | The page customers go to when they click the message. | Paste a link or search for a page. |

### Countdown timer
Show how much time is left in a sale or event, with an optional button next to the timer.
| Setting | Description | Options |
| ------------------ | ---------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Countdown type** | How the timer counts down. | **Evergreen**: The timer restarts after the **Duration** you choose.
**Fixed time**: The timer ends at the date and time you set. |
| **Duration** | How often an Evergreen timer restarts. | **Every 2 hours**, **Every 6 hours**, **Every 12 hours**, **Every day**, **Every week**, or **Every month**.
*Works when **Countdown type** is **Evergreen**.* |
| **Ends time** | When a Fixed time timer ends. | Enter a date and time, such as `2025/10/04 23:30`. See the formats below.
*Works when **Countdown type** is **Fixed time**.* |
| **Text** | The message shown next to the timer. | Enter text, such as `Sales end in`. |
| **Button label** | The text on the button. | Enter text, such as `Shop Now`. |
| **Button link** | The page customers go to when they click the button. | Paste a link or search for a page. |
| **Button style** | How the button looks. | **Primary button**, **Secondary button**, **Underline button**, or **Plain button**. |
| **Button icon** | The icon shown on the button. | Select an icon, or **None**. |
**Ends time** accepts these formats:
| Format | Pattern | Example |
| -------------- | --------------------- | --------------------- |
| 24-hour format | `YYYY/MM/DD HH:MM` | `2025/10/04 23:30` |
| 12-hour format | `YYYY/MM/DD HH:MM AA` | `2025/10/04 11:30 PM` |

Your message or countdown timer shows in the bar at the top of the theme editor preview.
## Tips and best practices
* Keep messages short, and check your store on mobile, where the bar is narrower.
* Rotate 2 or 3 messages at most. Customers rarely wait to see more.
* The bar is small and easy to miss. For important information, use a larger section on the page.
* For contact links, social icons, and currency selectors above the header, use the [Top bar](https://docs.foxecom.com/hyper-theme/pages-global-sections/top-bar) section.
## Related articles
Top bar
Header