Skip to content

Announcement bar

This guide describes setting up the Announcement bar section.

Use the section to display messages about sales, special discounts, and new products at the top of your store's pages.

​The previous video shows an Announcement bar section in Theme editor. In the section's settings, in the center left, the Text box contains text to display inside the section. The Display radio buttons are set to Scrolling text (effect). In the top-right, the scrolling text effect is applied to the section's text displayed on a store's Homepage.

For general guidance with modifying sections, refer to Sections overview, and Shopify help: Sections and blocks.

Set up an Announcement bar section

To set up an Announcement bar section:

  1. Go to Customize theme.

    At the top of the page, use the dropdown to select a template that contains an Announcement bar section.


    With the exception of the Checkout, Password, and Gift card pages, by default, Theme editor displays the section in the Header area of all page templates, and the section's visibility is set to off or "hidden".

  2. From the side menu, select Sections > Announcement bar.

    The Announcement bar section selected in Theme editor.

  3. Select a setting described in the following table.

Setting nameDescription
Home page onlySelect the checkbox Home page only to turn on/off displaying the section on the homepage only.
DisplaySelect the Display radio buttons to set the text inside the section to Static or Scrolling text (effect).
TextIn the Text box, enter text to display inside the section.
LinkIn the Link box, enter a URL to use as a link inside the section, or select a link to an existing store page. This setting is optional. With this setting enabled, the section's text is hyperlinked.
Link > Connect dynamic sourceTo display a link from a dynamic source, select the Connect dynamic source icon beside the Link box, and then choose a metafield to add. Refer to Shopify help: Metafields.
Scrolling text > Repeat textSelect the checkbox Repeat text to turn on/off repeating text inside the section. With this setting enabled, the text repeatedly scrolls across the section. To use this setting, set the Display option to Scrolling text.
Scrolling text > SpeedAdjust the Speed slider to set a scroll speed between 10sec and 400sec (seconds) for scrolling text. To use this setting, set the Display option to Scrolling text.
Scrolling text > DirectionSelect the Direction radio buttons to set the scrolling text to move from Right to left or Left to right. To use this setting, set the Display option to Scrolling text.
Color > Color schemeUse the Change dropdown to set the section's color scheme to Scheme 1 or Scheme 2. Select Edit to configure the current color scheme. Refer to Colors.
Custom CSSSelect Custom CSS. In the box, enter custom CSS styles to apply only to the current section. Refer to Shopify help: Add custom CSS. To apply custom styles to your entire online store, refer to Theme settings > Custom CSS.