Shopify sections

Shopify announcement bar: what the theme bar does and where it stops

A Shopify announcement bar is the slim strip above the header that shows a short message, such as a shipping note or a sale, on every page. In Dawn you edit it in the theme editor, in the Announcement bar section of the header group. Dawn's bar takes several announcements, each with a link, and can rotate them automatically. It has no end date per message, no countdown and no copyable coupon. Section Store adds four header bars for those cases, bought once per section or included in Enterprise.

  • Rotating Announcements and Announcement Ticker hold up to 8 messages each
  • All four bars honour prefers-reduced-motion; Rotating Announcements and Announcement Ticker stand still for shoppers who ask for less motion

Last checked:

Promotion Bar section rendered by Section Store with its sample content
Promotion Bar with its sample content and default settings: the Black Week Sale line on the #1c1b19 background with the Shop now button.

Variants

4 sections on this page

The split is by message count and motion. Promotion Bar carries one offer with a timer and a button or code, the rotating bar and the ticker carry up to 8 short messages, and Top Header is an icon row of USPs that stands still unless you animate it.

SectionWhat it isIn Section StoreProposed placement
Promotion BarWhat it isSlim promotion bar with countdown, call-to-action or copy-to-clipboard couponIn Section StoreOne-time purchaseProposed placementheader
Rotating AnnouncementsWhat it isA slim bar that shows one message at a time and changes it every few seconds, with arrows, a pause button, an optional close button and an end date per messageIn Section StoreOne-time purchaseProposed placementheader
Announcement TickerWhat it isA slim bar with short messages moving sideways in one line, with icons, links, a pause button and a still version for shoppers who prefer less motionIn Section StoreOne-time purchaseProposed placementheader
Top HeaderWhat it isSlim top bar with your USPs as a row, ticker or rotating messagesIn Section StoreOne-time purchaseProposed placementheader

In detail

Four header bars split by job: one offer, expiring messages, a moving line, a USP row

Promotion Bar is built around a single offer. Timer Settings takes the end date. Leave it empty and the timer restarts toward midnight each day, which fits a daily deal and misleads during a sale with a fixed last day. Hide Timer After It Ends is on by default, so the countdown disappears instead of sitting at zero. CTA Type switches between a button in Filled, Outline or Text Link style and a coupon code that shoppers copy to the clipboard. Its close button is on by default, and the closed state is kept in the browser until the promotion changes.

Rotating Announcements shows its messages one after the other, up to 8, each with a Link and a Show Until date in the shop's time zone. Seconds per Message is a slider from 3 to 12 s with 5 s as default, and Transition is Fade or Slide. Bar Height sits between 32 and 80 px, 44 px by default, and stays the same for short and long messages, so the page below does not jump. Arrows are on by default and a pause button lets shoppers stop the rotation. On a device set to reduce motion the bar holds still and only the arrows change the message.

Announcement Ticker moves up to 8 messages sideways in one line, each with an optional icon and link. Speed ranges from 20 to 160 px/s, and the builder marks the default of 50 as comfortable to read. Direction is mirrored in stores with a right-to-left language. Separator offers Dot, Line, Diamond, Star or no separator. A pause button is always there, and the bar stands still for shoppers whose device asks for less motion. Ticker messages have no end date field: to retire one, delete it in the builder or give the whole section an end date in its visibility rules.

Top Header lists Header Items with icon, text and link, plus optional social links. Animate Messages is off by default, so the row stands still. Switched on, it runs as Ticker or Rotate at 5 to 60 s per round, 20 s by default. One Message at a Time on Mobile is on, so phones show a single USP instead of a squeezed row. Font size is set per device, with defaults of 13 px on desktop and 12 px on tablet and mobile.

  • One dated offer with a button or a code: Promotion Bar
  • Several messages that end on different dates: Rotating Announcements
  • Short lines in constant sideways motion, with icons: Announcement Ticker
  • Fixed USPs with icons and social links: Top Header

Builder settings

Every builder setting of Promotion Bar

Change Coupon Code first: the sample SALE50 is plain text and only works if the same code exists as a discount in your Shopify admin. Then give Timer Settings an end date so the countdown stops resetting at midnight, and decide on Show Close Button, which is on by default and fits a sale but not a notice every shopper must read. All of these live in the Section Store builder; in the theme editor the app block offers only the section picker, padding, max width and device hiding, as the Section Store documentation on placing sections describes.

Layout1
Bar LayoutConfigure the layout for each device separately
Builder tool
Defaultn/a
Content1
Promotional TextMain text for the promotion bar
Long text
Default<strong>Black Week Sale</strong> – up to 70% off everything
Countdown Timer3
Timer Settings
Builder tool
Defaultn/a
Timer LabelConditionalWithout an end date the timer counts down to midnight every day
Text
DefaultEnds in
Hide Timer After It EndsConditional
On / off
DefaultOn
CTA Button10
CTA TypeConditional
Choice: Button, Coupon Code
DefaultButton
Button TextConditional
Text
DefaultShop now
Button URLConditional
Text
Default/collections/all
Button StyleConditional
Choice: Filled, Outline, Text Link
DefaultFilled
Coupon LabelConditional
Text
DefaultUse code
Coupon CodeConditional
Text
DefaultSALE50
Background ColorConditional
Colour
Default#ffffff
Text ColorConditional
Colour
Default#1c1b19
CTA SizeConditionalFont size of CTA element
Slider, 10–20 px
Default13 px
Enable AnimationConditionalArrow that moves on hover
On / off
DefaultOn
Social Icons6
Instagram URLConditional
Text
DefaultEmpty
Facebook URLConditional
Text
DefaultEmpty
TikTok URLConditional
Text
DefaultEmpty
X (Twitter) URLConditional
Text
DefaultEmpty
YouTube URLConditional
Text
DefaultEmpty
Icon SizeConditional
Slider, 12–28 px
Default16 px
Design6
Background ColorBackground color of the bar
Colour
Default#1c1b19
Show Gradient
On / off
DefaultOff
Gradient ColorConditional
Colour
Default#7a3418
Text Color
Colour
Default#ffffff
Text Size
Slider, 11–18 px
Default13 px
Show Close ButtonVisitors can close the bar; it stays closed until the promotion changes
On / off
DefaultOn
Spacing1
Spacing
Spacing per device
DefaultTop padding 10 / 10 / 8 px

28 settings in 7 groups. These are settings in the Section Store builder, not theme editor settings: read from the app's section configuration, as of 2 Dec 2026. "Conditional" settings appear only once a related setting turns them on.

When to use it

A section bar earns its place when messages expire, count down or carry a code

Use it when

  • Dawn's bar rotates but cannot expire or count downDawn rotates its announcements, but no message has its own end date, there is no timer and no code to copy. Rotating Announcements gives each of up to 8 messages a Show Until date, Announcement Ticker moves them sideways at 20 to 160 px/s, and Promotion Bar counts down to an end date.
  • Shoppers should take a code from the barSet CTA Type in Promotion Bar to Coupon Code. The code appears behind the Coupon Label, "Use code" by default, and shoppers copy it to the clipboard instead of retyping it at checkout.
  • Offers end on different daysEach Rotating Announcements message has its own Show Until date, and end dates count in the shop's time zone. A weekend offer drops out on its own while the shipping note keeps running, with no edit needed on the last day.
  • The header must not push the pageRotating Announcements keeps Bar Height fixed, 44 px unless you change it, whichever message is showing. Content under the header does not move when a longer message rotates in.

Skip it when

  • One permanent line is enoughA single shipping note that never changes needs no timer, rotation or extra app block in the header. Use the announcement bar that ships with your theme; it is the lighter option.
  • You want progress toward free shippingNone of the four bars reads the cart, so none can show how much is left to a free shipping threshold. Use a free shipping bar that is built on cart data.
  • The text is legally requiredPromotion Bar can be closed by the shopper, and rotating or moving messages are out of view most of the time. Place required information as fixed text on the page it applies to or in the footer, where it stays readable.

Two ways

A hand-coded bar stays small until it needs dates, a timer or a remembered close

Static text or plain rotation is routine theme work, and in Dawn the Announcement bar section already uses announcement blocks you can extend. Per-message end dates, a countdown that ends cleanly and a close state that survives page loads are the parts that take time to build and test.

Way 1

By hand in theme code

Untested outline, not a finished listing. Needs Liquid, CSS and JavaScript, and each feature beyond rotation adds its own script and edge cases. Edits to theme files have to be carried over by hand when you update the theme.

  1. Use a header group section with a block type announcement that has a text and a link setting.
  2. For rotation, write a short interval script that toggles an active class from one message to the next.
  3. For a ticker, duplicate the message row and animate it with CSS @keyframes so the loop shows no gap.
  4. Add a pause control for any motion longer than five seconds (WCAG 2.2.2) and stop the motion under prefers-reduced-motion.
  5. Build end dates, a countdown and a stored close state as separate pieces, and check them against the shop time zone.

Choose this if: You maintain the theme code anyway and need a sideways ticker or a few rotating messages without timer or coupon. Then your own block is the better choice and the header stays free of app code.

Way 2

With the Section Store app

No theme code. Bought once per bar, or part of the Enterprise plan. Requires an Online Store 2.0 theme, because placement runs through an app block.

  1. Install Section Store and open the bar you want in the builder.
  2. Enter messages, timer or coupon, colours and height, and check the live preview on desktop, tablet and mobile.
  3. Save; the settings go into an app-owned metafield, not into theme files.
  4. Click Install in theme; the theme editor opens with the Section Store app block in the header group.
  5. Confirm that the block's section picker shows the right bar, then save the theme.

Choose this if: You need end dates per message, a countdown, a copyable coupon or a pause button and do not want to maintain the script. The output is plain HTML, CSS and JavaScript without Liquid tags.

FAQ

What merchants ask about announcement bars on Shopify

Promotion Bar is in Section Store.

Set it up in the app builder and place it through the Section Store app block. No theme code.

Install on Shopify

Sources

Sources