Announcement bar
A slim bar above the header with short messages, shown one at a time, such as a shipping offer or a store update. A message can also count down to the end of an offer. The bar belongs to the header group, so you set it up once and every page shows it.
Add the section
Section titled “Add the section”The announcement bar is already in the header group, at the top of the theme editor’s sidebar. To edit it:
Online Store → Themes → Customize
- In your Shopify admin, go to Online Store → Themes and select Customize on Cosmero.
- In the header group at the top of the sidebar, select Announcement bar.
- Select a message to edit it. To add one, select Add block and choose Announcement or Countdown.
- Select Save. The change shows on every page.
If you removed it, select Add section in the header group and choose Announcement bar. It can’t go anywhere else.
Settings
Section titled “Settings”- Color scheme: the bar’s colors. You edit color schemes in Theme settings.
- Auto-rotate announcements: shows the next message every few seconds. Rotation pauses while the bar is hovered or focused, and shoppers can pause it with a button. It doesn’t start on its own for visitors who have reduced motion turned on. It’s on by default.
- Change every: the seconds between messages, 3 to 10. Shown when Auto-rotate announcements is on.
With more than one message, arrow buttons let shoppers move between them.
Blocks
Section titled “Blocks”The bar holds up to 6 messages.
Announcement
Section titled “Announcement”Adds a short message.
- Text: the message.
- Link: makes the whole message a link, with an arrow after it.
Countdown
Section titled “Countdown”Adds a message followed by the time left, such as “Offer ends in 2d 14h 05m 09s”.
- Text: the words before the countdown.
- Link: makes the whole message a link, with an arrow after it.
- End date and time: when the countdown ends, typed as YYYY-MM-DD HH:MM in your store’s timezone (Settings → General), for example 2026-12-31 23:59. The countdown stops there and never restarts.
- When the countdown ends: Hide it takes the message out of the bar. Show a message puts your message in its place.
- Ended message: the message that shows after the end. Shown when When the countdown ends is Show a message. If you leave it empty, the message is taken out instead.
- A countdown whose end isn’t a real date and time in that format stays hidden in your store. In the theme editor, a note shows in its place, and so does one for a countdown that ended with Hide it.
- When no message is left to show, for example after the only countdown has ended, the bar doesn’t show at all.
- In the theme editor, selecting a message shows it in the bar and holds the rotation.
- For a large countdown with a heading and a button, use the Countdown banner.