Announcement bar
Overview
The Announcement Bar section is used to display scrolling promotional messages, store updates, shipping announcements, trust messaging, or important notifications at the top of the storefront. It supports multiple announcement items, marquee scrolling animation, typography customization, responsive grid spacing, a dismissible close button, color schemes, and individual background, text, and border color sources. The section is available within the Header group.
Blocks Configuration
Announcement Block
The Announcement block displays an individual message inside the scrolling announcement bar. Multiple announcement blocks can be added to display different messages, and the preset ships with several enabled by default.
| Setting | Description |
|---|---|
| Announcement Text | Defines the announcement message displayed inside the scrolling bar. |
The announcement text uses a single-line text field, with “Free shipping over €200” as the default content.
Typography
| Setting | Description |
|---|---|
| Text Size | Controls the size of the announcement text such as Large, Medium, or Small. |
| Text Weight | Adjusts the font thickness of the announcement text, ranging from Thin (100) to Black (900). |
| Text Case | Changes the text transformation style such as Uppercase, Capitalize, Lowercase, or Default (none). |
The default typography settings are Small text size, Normal (400) font weight, and Uppercase text case.
The Text Weight setting offers nine steps: Black (900), Extra Bold (800), Bold (700), Semi Bold (600), Medium (500), Normal (400), Light (300), Extra Light (200), and Thin (100).
Motion (Marquee) Settings
| Setting | Description |
|---|---|
| Pause on Hover | Pauses the scrolling animation when users hover over the announcement bar. |
| Marquee Direction | Controls the scrolling direction such as Right to Left or Left to Right. |
| Marquee Speed | Controls the scrolling speed of the announcement bar, expressed as a multiplier. |
Pause on Hover is enabled by default. The default marquee direction is Right to Left, and the default marquee speed is 1x. The marquee speed can be configured from 0.1x to 3x in steps of 0.1x, where higher values scroll faster.
Grid Spacing
| Setting | Description |
|---|---|
| Desktop Grid Spacing | Adds spacing between scrolling announcement items on desktop devices. Default: 52px. |
| Mobile Grid Spacing | Adds spacing between scrolling announcement items on mobile devices. Default: 52px. |
The desktop grid spacing can be configured from 0px to 200px in steps of 2px, while the mobile grid spacing can be configured from 0px to 100px in steps of 1px.
Appearance
| Setting | Description |
|---|---|
| Show Close Button | Displays a dismiss (close) button that lets shoppers hide the announcement bar. |
| Section Color Scheme | Applies a predefined color scheme to the announcement bar. |
| Background Color Source | Sets the bar's background using a single color token from the theme palette. |
| Text Color Source | Sets the announcement text color using a single color token from the theme palette. |
| Border Color Source | Sets the bar's border color using a single color token from the theme palette, or Transparent for no visible border. |
The default appearance settings are: Show Close Button enabled, Color Scheme set to Scheme 2, Background Color Source set to Background, Text Color Source set to Text, and Border Color Source set to Background Soft.
The Background, Text, and Border color sources each draw from the same palette tokens: Background, Background Soft, Background Wash, Text, Text Soft, Text Wash, Accent, Accent Soft, Accent Wash, and Accent Contrast. The Border Color Source adds a Transparent option in addition to these.