Announcement bar
Short messages above the header that scroll, rotate or sit still.
Short messages above the header that scroll, rotate or sit still.
- Where it can go: Header or password header group only
- Area: Header, footer and cart
- Blocks: up to 6
- File:
sections/announcement-bar.liquid
Section settings#
| Setting | Type | Default | What it does |
|---|---|---|---|
| Color scheme | Color scheme | Scheme 4 | |
| Layout | Choice | Scrolling ticker | Options: Scrolling ticker, One message at a time, All messages at once. |
| Scroll speed | Slider 20 to 80 s | 40 s | Seconds per loop. Higher is slower. |
| Time per message | Slider 3 to 10 s | 5 s | Pauses while a visitor hovers or focuses the bar. |
| Show pause button | On/off | On | The bar also pauses on hover and focus. |
| Transition | Choice | Slide up | Options: Slide up, Slide sideways, Fade. |
| Show arrows | On/off | On | |
| Between messages | Choice | Diamond | Options: Diamond, Star, Dot, Line, Slash, Nothing. |
| Arrow after linked messages | On/off | On |
Blocks#
Message
Type: _announcement-bar-message
| Setting | Type | Default | What it does |
|---|---|---|---|
| Text | Text | Welcome to our store | |
| Link | Link | ||
| Icon | Choice | None | Options: None, Award, Box, Card, Chat, Check, Clock, Drop, Engraving, Envelope, Gem, Gift, Globe, Heart, Infinity, Info, Leaf, Phone, Pin, Returns, Ring, Ruler, Secure, Shield check, Shipping, Size guide, Sparkle, Star, Tag. |
| Use its own colors | On/off | Off | Gives this message its own colored band. |
| Color scheme | Color scheme | Scheme 3 |
Countdown
Type: _announcement-bar-countdown
| Setting | Type | Default | What it does |
|---|---|---|---|
| Text before the timer | Text | Sale ends in | |
| Text after the timer | Text | ||
| Link | Link | ||
| Icon | Choice | None | Options: None, Award, Box, Card, Chat, Check, Clock, Drop, Engraving, Envelope, Gem, Gift, Globe, Heart, Infinity, Info, Leaf, Phone, Pin, Returns, Ring, Ruler, Secure, Shield check, Shipping, Size guide, Sparkle, Star, Tag. |
End date
| Setting | Type | What it does |
|---|---|---|
| End date | Text | Format YYYY-MM-DD, for example 2026-12-31. The countdown is the same for every customer and ends at this moment in your store's time zone. |
| End time | Text | 24-hour clock, format HH:MM, for example 18:00. Leave empty for 00:00. |
| When finished | Text | Shown in place of the countdown once it ends. Leave empty to remove the countdown from the bar. |
Timer
| Setting | Type | Default | What it does |
|---|---|---|---|
| Style | Choice | 2d 14h 36m | Options: 2d 14h 36m, 2d 14:36. |
| Show seconds | On/off | On | |
| Use its own colors | On/off | Off | Gives this message its own colored band. |
| Color scheme | Color scheme | Scheme 3 |
Developer notes#
Announcement bar. Messages are theme blocks; layouts: scroll (ticker), rotate (one at a time) or static. Script: assets/announcement.js. The blocks render once and the section reuses that output: marks become the separator; for the ticker, each message's <template> line is lifted into the screen reader list and the set is repeated four times (the copies without the editor's block attributes).