Z O B A E R

Loading

Guide Shopify guide

Scrolling Announcement Bar in Shopify: 3 Ways (No App)

How to add a scrolling announcement bar in Shopify for free: the real Dawn and Horizon settings, Horizon's Marquee section and a copy-paste snippet.
Zobaer Hossain
Zobaer H.Shopify Select Partner · 10+ years
How to add a scrolling announcement bar in Shopify without an app, guide by Zobaer H.

A scrolling announcement bar is the thin strip of text at the very top of a store, where messages like “Free shipping over $50” glide across the screen. It is the first thing a visitor reads, on every page. That makes it a great spot for your best offer or your shipping promise.

Here is the catch: the announcement bar in Shopify’s free themes does not scroll. It shows one message at a time and then switches to the next. In this guide I show you what the built-in bar can do, and two free ways to get a real, nonstop scrolling announcement bar without an app. I have set up announcement bars on many client stores, and these are the methods I use.

Here is what you will learn:

  • How the announcement bar works in Dawn and in Horizon, with the real settings
  • Way 1: rotating messages with the built-in bar (no code)
  • Way 2: Horizon’s Marquee section for scrolling text (no code)
  • Way 3: a scrolling announcement bar on every page with a short copy-and-paste snippet
  • Message ideas, phone tips and fixes for common problems

What is a Shopify announcement bar?

The Shopify announcement bar sits above your header, in the Header area of the theme editor. Because the header area is shared by every page, the bar shows on your home page, product pages, collections and cart. In its guide to the announcement bar, Shopify suggests it for news like shipping delays, new policies and current promotions.

A static bar shows one line of text. A rotating bar shows several messages, one after the other. A scrolling announcement bar, also called a Shopify marquee or a moving announcement bar, slides all your messages from right to left in a loop, like a news ticker. Each style has its place, and the table below shows which one each method gives you.

Way 1: Rotate messages with the built-in announcement bar

Start with the built-in Shopify announcement bar if you only want several messages to take turns. It takes two minutes and needs no code. The steps differ a little between Dawn and Horizon.

In the Dawn theme

  1. In your Shopify admin, go to Online Store, then Themes, and click Customize.
  2. In the left sidebar, under Header, open the Announcement bar section.
  3. Click the first announcement. Type your message in Text and, if you want, choose a page in Link.
  4. Click Add Announcement to add a second and a third message. Dawn allows up to 12.
  5. Click the Announcement bar section itself and tick Auto rotate announcements.
  6. Set Change every to how long each message stays. The range is 3 to 10 seconds, and the default is 5.
  7. Click Save.
Shopify announcement bar in Dawn: Auto rotate announcements and Change every settings in the theme editor
Dawn: add a few announcements, then tick Auto rotate announcements and set the timing.

A few things to know about Dawn. With two or more messages, the bar shows small arrows, and messages slide in one at a time. If you leave Auto rotate announcements off, shoppers must click the arrows. Rotation pauses while the mouse is over the bar, and it stops once a shopper clicks an arrow. The Text field is plain text, so you can’t make one word bold.

The section also has a Color scheme, a Separator line, and three utilities: Social media icons, Country/region selector and Language selector. As the editor says, the utilities appear only on large screens.

In the Horizon theme

  1. Open the theme editor the same way.
  2. Under Header, open Announcement bar and click the first Announcement block.
  3. Type your message in Text. Horizon lets you make words bold or italic here. Add a Link if you want.
  4. Add more Announcement blocks for more messages.
  5. Click the Announcement bar section and set Time to next announcement. The range is 2 to 10 seconds, and the default is 5.
  6. Click Save.

Horizon has no on and off switch for rotation. As soon as the bar has two or more announcements, it fades from one to the next on its own, and it pauses while the mouse is over it. Each block also has its own Typography settings (Font, Size, Weight, Letter spacing and Case) and a Text color. The section adds Section width, Background color, Divider thickness and Padding.

Way 2: A scrolling marquee with Horizon’s Marquee section

Horizon comes with a Marquee section that scrolls text nonstop. It is the easiest way to get a moving announcement bar in Horizon, with no code at all. It is also the only built-in Shopify marquee in the two free themes.

  1. In the theme editor, open the page where you want it, for example the Home page.
  2. In the template area, click Add section and choose Marquee.
  3. Drag it to the top of the template, so it sits right under the header.
  4. Click the Text block inside it and type your message. Add more Text blocks, or an Icon or Divider between messages.
  5. The default text is large. In the Text block, under Preset, choose Paragraph or a small heading size.
  6. On the section, pick a Background color, lower Top and Bottom padding (the default is 24 px each), and choose a Motion direction.
  7. Click Save.
Horizon announcement bar settings next to the Marquee section for a scrolling announcement bar
Horizon: the Announcement bar fades between messages, while the Marquee section scrolls them.

There is one limit. Horizon does not allow the Marquee section in the Header or Footer area. So it shows only on the template you add it to, not on every page. There is also no speed setting: the theme sets the speed for you. If you need a scrolling announcement bar on every page, or you use Dawn, go to Way 3.

Way 3: Add a scrolling announcement bar to every page with code

This method adds a true scrolling announcement bar to the Header area, so it shows on every page. It works in Dawn, Horizon and most other themes that allow a Custom Liquid section in the header. You don’t edit any theme files. You only paste a snippet into a section, so it is easy to undo.

Step 1: Add a Custom Liquid section to the header

  1. Go to Online Store, then Themes, and click Customize.
  2. In the left sidebar, find the Header area and click Add section.
  3. Choose Custom Liquid.
  4. Drag it above the Header section, so it sits at the very top.

Step 2: Paste the snippet

Click into the Liquid code box and paste this code. Then change the three messages to your own.

{%- capture messages -%}
  <span>Free shipping on orders over $50</span>
  <span>30-day easy returns</span>
  <span><a href="/collections/all">New arrivals are here</a></span>
{%- endcapture -%}

<div class="ann-marquee" role="region" aria-label="Announcements">
  <div class="ann-marquee__track">
    <div class="ann-marquee__group">{{ messages }}</div>
    <div class="ann-marquee__group" aria-hidden="true" inert>{{ messages }}</div>
  </div>
</div>

<style>
  .ann-marquee {
    --ann-speed: 30s;
    overflow: hidden;
    background: #111111;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.2;
    padding: 12px 0;
  }
  .ann-marquee__track {
    display: flex;
    width: max-content;
    animation: ann-scroll var(--ann-speed) linear infinite;
  }
  .ann-marquee:hover .ann-marquee__track,
  .ann-marquee:focus-within .ann-marquee__track {
    animation-play-state: paused;
  }
  .ann-marquee__group {
    display: flex;
    flex-shrink: 0;
    justify-content: space-around;
    gap: 48px;
    min-width: 100vw;
    padding-right: 48px;
  }
  .ann-marquee span { white-space: nowrap; }
  .ann-marquee a { color: inherit; }
  @keyframes ann-scroll {
    to { transform: translateX(-50%); }
  }
  @media (max-width: 749px) {
    .ann-marquee { font-size: 13px; --ann-speed: 20s; }
  }
  @media (prefers-reduced-motion: reduce) {
    .ann-marquee__track { animation: none; width: auto; }
    .ann-marquee__group { flex-shrink: 1; min-width: 0; flex-wrap: wrap; justify-content: center; gap: 8px 24px; padding: 0 16px; }
    .ann-marquee__group[aria-hidden] { display: none; }
  }
</style>

This Shopify marquee snippet writes your messages twice, one copy after the other, and slides the whole row to the left. When the first copy has gone, the second copy is exactly where the first one started, so the loop never jumps. The second copy is hidden from screen readers, so they read each message only once.

Scrolling announcement bar in Shopify: Custom Liquid section with the marquee code in the header
Paste the code into a Custom Liquid section at the top of the Header area, then hide the old bar.

Step 3: Fix the spacing and hide the old bar

  • Dawn: the Custom Liquid section adds padding by default (40 px on top, 52 px at the bottom). Set Top and Bottom padding to 0, or you get a white gap around the bar.
  • Horizon: set Width to Full, so the bar runs from edge to edge. Padding is already 0.
  • Both: hide the built-in Announcement bar with the eye icon, so you don’t show two bars. Then click Save.

Step 4: Change the look and speed

You can change these parts of the code:

  • Messages: edit the lines between capture and endcapture. Add or remove a whole span line to change the number of messages.
  • Colors: change background and color to your brand colors.
  • Speed: –ann-speed is the time for one full loop. A bigger number means slower text. Phones have their own value lower down.
  • Size: change font-size and padding to make the bar thinner or thicker.

The code also does three helpful things for you. The text stops when a shopper hovers over it or tabs to a link in it. It stays still for visitors who turned on “reduce motion” on their device, and shows the messages centered instead. And it uses only CSS, so it adds no app script to your store.

Which way should you use?

MethodThemeHow it movesWhere it showsCode?
Announcement barDawnSlides one message at a timeEvery pageNo
Announcement barHorizonFades one message at a timeEvery pageNo
Marquee sectionHorizonScrolls nonstopOnly the page you add it toNo
Custom Liquid snippetDawn, Horizon, most themesScrolls nonstopEvery pageCopy and paste

My advice: if you have one or two short messages, the built-in Shopify announcement bar is enough, and it is the easiest to keep up to date. If you use Horizon and want a Shopify marquee on your home page only, use the Marquee section. If you want a scrolling announcement bar on every page, use the snippet.

Good Shopify announcement bar message ideas

The best messages answer a question a shopper already has. Keep each one under about 40 characters, so it reads in one glance.

  • Shipping: “Free shipping on orders over $50” or “Ships in 1 to 2 business days”.
  • Returns: “30-day easy returns”.
  • Offers: “20% off everything this weekend” or “Buy 2, get 1 free”.
  • New products: “New arrivals are here”, linked to the collection.
  • Trust: your real rating or review count, for example “Rated 4.8 by our customers”, only if it is true.
  • Deadlines: “Order by Dec 18 for holiday delivery”.

Only promise what your store really offers, and update the bar as soon as an offer ends. An expired sale at the top of every page makes shoppers doubt everything below it.

Shopify announcement bar tips for mobile

Most visitors see your bar on a phone first, so design it for a small screen.

  • Keep it short. On a phone, a long line is cut off in the rotating bar and takes ages to pass in a moving announcement bar.
  • Use three messages or fewer. Shoppers rarely wait for a fourth.
  • Keep the speed calm. If you can’t read a message in one pass, slow it down.
  • Use strong contrast. Light text on a dark background, or the reverse, stays readable in sunlight.
  • Keep links clear. In Horizon, a link makes the whole bar clickable. Link to the page the message talks about.
  • Check it on a real phone after you save, not only in the editor preview.
Shopify announcement bar on a phone: rotating bar compared with a scrolling marquee
On a phone, the built-in bar shows one short message, while a marquee keeps all messages moving.

Common announcement bar problems and fixes

The bar doesn’t move

In Dawn, you need at least two announcements and Auto rotate announcements ticked. In Horizon, you need at least two announcements. Also check your own device: with “reduce motion” turned on, the built-in bars and the snippet stay still on purpose.

I see two announcement bars

You added a scrolling announcement bar but kept the old one. Hide the built-in Announcement bar section with the eye icon, or remove its blocks.

There is a white gap above or below the bar

In Dawn, the Custom Liquid section has padding by default. Set Top and Bottom to 0. In Horizon’s Marquee section, lower the padding values.

The bar doesn’t reach the edges of the screen

In Horizon, set Width to Full on the Custom Liquid section, or Section width to Full on the Announcement bar.

The Marquee section only shows on the home page

That is how Horizon works. The Marquee section can’t go into the Header area. Add it to each template where you want it, or use the code method for every page.

The scrolling text jumps or leaves a gap

Both copies of your messages must be identical. In the snippet, only edit the messages between capture and endcapture, and the two copies stay the same.

Frequently asked questions

How do I add a scrolling announcement bar in Shopify?

Add a Custom Liquid section to the Header area of the theme editor and paste a small marquee snippet, like the one in this guide. In Horizon, you can also use the built-in Marquee section on a single page.

Can I add a scrolling announcement bar in Shopify for free?

Yes. The built-in announcement bar, Horizon’s Marquee section and the Custom Liquid snippet are all free and need no app.

How do I make the announcement bar scroll in the Dawn theme?

Dawn’s own bar can only rotate messages one at a time. For real scrolling text, add a Custom Liquid section to the header with the snippet above, and set its padding to 0.

How do I add a marquee to the Shopify announcement bar?

The built-in bar has no marquee option in Dawn or Horizon. Hide it and put a Custom Liquid marquee in the same spot at the top of the Header area.

How do I add another announcement bar in Shopify?

A theme can have only one Announcement bar section, but you can add more announcement blocks to it. Dawn allows up to 12, and the messages take turns.

What size is the Shopify announcement bar?

There is no fixed size. The height comes from the text size and padding. In Horizon, you set the padding and text size yourself. In Dawn, the bar follows the theme’s own sizes.

A short, honest message at the top of every page is one of the simplest ways to answer shoppers’ first questions. For more practical guides like this, see my Shopify tips, such as the Shopify image sizes guide and how to add a size chart. If you would rather have it done for you, I set up announcement bars as part of my Shopify store management service. Message me on WhatsApp and I will take a look.

Zobaer Hossain, Shopify designer

Written by Zobaer H.

Shopify Select Partner with 10+ years of experience and 5,000+ clients. I design and build Shopify stores, and I write these guides from real client work.

Shopify Select Partner badge

In this guide

    ★★★★★ 4.9 from 1,350+ client reviews

    Let's start

    Ready to start your store?

    Send me your idea or store link. I'll reply with honest advice and a fixed quote.

    ✓ Free quote✓ Fixed price✓ You own everything