Skip to content

Announcement bar

A slim strip that sits above the header in the header group. Each message is a block, so you can add, reorder and remove them from the theme editor. With more than one message they rotate.

If there are no message blocks the section renders nothing at all — no empty strip.

SettingTypeDefaultWhat it does
Rotate between messagesCheckboxtrueCycle through the messages. Only applies when there is more than one
Seconds per messageRange 3–12 s5Seconds each message is held before the next one

Message, up to 5.

SettingTypeDefaultWhat it does
TextInline rich textFree shipping worldwide · 400 units a runThe message. Bold, italic and links are allowed
Button linkURL—Makes the whole message a link

The theme’s preset ships one message block.

Only the first message is visible; the rest are hidden, and a timer swaps which one is shown. Rotation is skipped entirely — all messages stay put with the first one showing — when any of these is true:

  • there is only one message block
  • rotate is off
  • the visitor has prefers-reduced-motion: reduce
  • the global Motion → Enable motion setting is off

The timer pauses on mouseenter and on focusin, so a message that is a link can actually be clicked or tabbed to, and resumes on mouseleave.

When rotation is active the bar is marked up as a labelled role="region", so screen reader users can find it rather than having content change under them silently.