Install Sam free

★ 4.9 (107 reviews) Built for Shopify Free plan available

Guides

Promo Bars on Shopify: Top, Bottom and Sticky

TL;DR

Use a top promo bar that scrolls with the page for store-wide messages like free shipping thresholds, so it never covers your sticky header or shifts the layout. Use a sticky bottom bar when you want a coupon code, button, or countdown to stay in view as shoppers scroll down product and collection pages. Always keep a close button and check mobile widgets before going live.

Choose a scrolling top bar when you want every visitor to see a store-wide policy or offer once upon arrival without giving up screen space as they scroll. Choose a sticky bottom bar when you want an actionable offer—like a click-to-copy coupon code, a sale button, or a live countdown—to remain within thumb reach down long collection and product pages. Both placements outperform full-screen popups when you want zero browsing friction.

Where a promo bar sits and how it behaves on scroll determines whether shoppers use your offer or close it in frustration. This guide compares top, bottom, and sticky announcement bars on Shopify, explains how to prevent header overlap and layout shift, and walks through setting up your bar step by step. For how promo bars fit alongside recent order notifications, stock alerts, and reviews, see our social proof guide for Shopify.

Top bar, bottom bar, or sticky announcement bar: how do they compare?

A promo bar on Shopify can sit at the top edge or the bottom edge of the page, and it can either scroll away with the document or stay pinned (sticky) to the viewport. Each combination changes what shoppers see as they move down a page.

Placement & behaviorHow it moves on scrollBest use caseMain watch-out
Top bar (scrolls with page)Sits above the header; scrolls out of view as the shopper reads downFree shipping thresholds, store policies, or ongoing salesShoppers who scroll far down a collection page must scroll back up or rely on memory
Sticky top bar (fixed at top)Stays pinned to the top edge of the screen at all timesShort flash sales when your theme header is not stickyCan cover a sticky theme header or stack with it to eat up vertical phone screen space
Bottom bar (sticky at bottom)Stays pinned to the bottom edge of the viewport while scrollingClick-to-copy coupon codes, CTA buttons, and countdown timersCan collide with mobile sticky Add to Cart bars, chat launchers, or cookie banners

Google’s search documentation advises against intrusive dialogs that cover the main content and recommends small banners that use a reasonable fraction of the screen and are easy to dismiss (Google Search Central). Both a top bar and a bottom bar meet that standard when kept to a single thin strip.

When should you use a top bar on Shopify?

A top bar is the default place shoppers look first to check shipping costs, return terms, or active store-wide promotions. Because it sits above your navigation bar, it frames the visit before the shopper clicks into a product.

A scrolling top bar works best in three situations:

  • Free shipping thresholds and shipping cutoffs. Shoppers check delivery rules early in their visit. Once they know orders over $60 ship free, they do not need that line pinned over every product photo as they scroll. See our guide on how to set a free shipping bar threshold for the margin math.
  • Themes with a sticky navigation header. Many Shopify themes pin the logo, menu, and cart icon to the top of the screen when a shopper scrolls. A top promo bar that scrolls naturally with the page gets out of the way of your sticky header instead of stacking on top of it.
  • Mobile product pages with a bottom sticky Add to Cart button. If the bottom edge of your phone layout is already reserved for a sticky buy button, keeping your promo bar at the top prevents two bars from fighting for the bottom of the screen.

Why layout shift matters for top promo bars

When a third-party script loads late and injects a top bar above your header after the page has already painted, the entire page jumps downward by 50 to 70 pixels. A shopper reaching to tap a menu link or product card ends up tapping the bar instead.

Google measures this visual instability as Cumulative Layout Shift (CLS) and defines a good CLS score as 0.1 or less (web.dev). When you choose a top bar app or theme setting, make sure the space at the top of the page is reserved before the first paint so the page never jumps.

When does a sticky bottom promo bar work better?

A bottom promo bar stays fixed to the bottom edge of the viewport (position: fixed; bottom: 0) as the shopper scrolls. That makes it a natural fit when the bar contains an action—such as copying a code or clicking through to a sale collection—that a shopper decides to take after browsing several items.

Use a bottom bar when:

  1. You want a click-to-copy coupon code in view during product research. Shoppers often ignore a top bar when they first land from an ad, then look for a discount code after reading product descriptions and reviews lower on the page.
  2. Your top header is already tall. A store with a utility bar, a large logo row, and a collection menu row can lose a third of a phone viewport if you pin another sticky bar at the top. Putting the promo bar at the bottom splits the visual weight.
  3. You are running a timed offer with a CTA button. A bottom bar keeps the countdown and “Shop now” button within thumb reach on mobile without covering the top navigation menu.

Before leaving a bottom bar on all pages, open a product page and the cart page on a real phone. If your theme displays a sticky Add to Cart bar at the bottom of product pages, either switch your promo bar to Top bar (all pages) or use page targeting to show the bottom bar only on the home page and collection pages. For a full map of screen edges, see where to place social proof on a Shopify store.

What can a Shopify theme announcement bar do vs a promo bar app?

Most current Shopify themes include an announcement bar section out of the box. According to the Shopify Help Center, a theme can have one announcement bar section with up to 12 announcement blocks, an optional link on each message, and an Auto-rotate announcements setting.

That built-in bar is enough when you only need a line of text and a link at the top of the store. You need a dedicated promo bar app when your campaign requires interactive elements or flexible placement:

FeatureShopify theme announcement barSam FOMO Promo Bar
PlacementTop of page (inside theme header group)Top bar (all pages) or Bottom bar (all pages)
Scroll behaviorTheme-dependentTop bar scrolls in reserved space (no CLS); bottom bar stays sticky
Dismiss button (×)Theme-dependentIncluded; remembers dismissal for the browser session
Click-to-copy coupon badgeNo (plain text only)Yes, with “Copied!” confirmation tooltip
Auto-hide expired Shopify codeNo (must edit theme manually)Yes, when using Use Shopify Discounts code
Apply discount on button clickVia manual /discount/CODE linkBuilt-in Apply the code when shoppers click the button toggle
Live countdown timerNoFixed date, daily midnight, or per-visitor timer
Page, device & product targetingShows wherever the header group rendersFilter by page type, desktop/mobile, and excluded products
WCAG contrast checkNoWarns in editor if text/background contrast is below 4.5:1

If you are deciding whether your discount code belongs in a top/bottom bar or behind an email sign-up form, read our comparison of coupon code announcement bars vs popups.

How do you set up a top or bottom promo bar on Shopify?

You can add a promo bar in minutes using either your theme editor for a simple text banner or Sam FOMO for a top or bottom bar with a coupon badge, button, and countdown. Sam FOMO is Built for Shopify, free to install, and rated 4.6★ from 17 reviews on the Shopify App Store.

Option 1: Set up the built-in theme top bar

If you only need text and a link at the top of your store:

  1. In your Shopify admin, go to Online Store > Themes and click Edit theme (Shopify Help Center).
  2. In the Header group on the left sidebar, click Announcement bar (or click Add section and select Announcement bar if your theme hides it).
  3. Click an announcement block or Add Announcement and enter your message in Text.
  4. To make the bar apply a discount code when clicked, go to Discounts in your Shopify admin, open your discount, click Promote > Get a shareable link, and add a redirect parameter such as /discount/CODE?redirect=/collections/sale (Shopify Help Center). Paste that path into the announcement’s Link field.
  5. Click Save.

Option 2: Set up a top or bottom Promo Bar in Sam FOMO

First, install Sam FOMO and turn on the Sam Boost Sales app embed in your theme editor (install and enable guide). Then follow these steps from the promo bar guide:

  1. In the Sam FOMO menu, open Notifications, click Create notification, scroll down to Promotions, and click Add on Promo Bar.
  2. Under Bar, set Placement to either Top bar (all pages) or Bottom bar (all pages):
    • Top bar (all pages) reserves 56px of space at the top of the page on desktop (72px on mobile screens) before the first paint and scrolls with the page, so it never shifts your layout or covers a sticky header.
    • Bottom bar (all pages) pins the bar to the bottom edge of the viewport as shoppers scroll.
  3. Write your Message (up to 120 characters of visible text). Use the toolbar to add Bold emphasis or a Link to a policy or collection page. If you need copy templates, see our announcement bar ideas for Shopify.
  4. Open Countdown if your promotion has a real deadline. Check Add a countdown timer, pick Ends at a fixed date & time, Ends every day at midnight, or Per visitor, starts at first visit, and choose whether to Show Days / Hours / Min / Sec labels.
  5. Open Button & coupon to add an action:
    • Enter Button text (up to 20 characters, such as Shop now) and a Button link (such as /collections/sale).
    • Check Show coupon code to display a dashed code badge shoppers can click to copy.
    • Under Coupon code type, choose Use Shopify Discounts code to select an active discount from your store (which automatically hides the code badge once the discount expires or is turned off), or choose Custom code to type a code manually.
    • Check Apply the code when shoppers click the button so clicking the CTA button opens /discount/CODE?redirect=/your-path and applies the discount at checkout. For a full walkthrough of discount syncing, see how to add an announcement bar with a countdown and coupon code.
  6. Open Visibility to control where the bar appears:
    • Set Show on to All pages or Specific pages (Home page, Product page, Collection list, Collection page, Cart page).
    • Under Devices, check Desktop, Mobile, or both.
    • Under Exclude products, click Select products to hide the bar on specific product pages (such as gift cards or excluded brands).
  7. Open Colors to set Background, Text, Code & timer background, Code & timer text, Button background, and Button text. If your text and background contrast ratio drops below 4.5:1, the editor shows a caution note so you can fix readability before publishing.
  8. If your store sells in multiple languages, open Translations to translate the message and button text for each language.
  9. Check the live preview and click Save.

When to use the Countdown Timer top or bottom bar instead

Sam FOMO also includes a dedicated Countdown Timer notification type under Urgency (urgency and cart guide). When you set a Countdown Timer’s Placement to Top bar (all pages) or Bottom bar (all pages), both top and bottom positions render as a fixed (sticky) viewport bar with a Title, Subtitle, live timer digits, and CTA button, without a coupon code box. Use Promo Bar when you want a rich-text message, a copyable coupon code, or a non-sticky top bar; use Countdown Timer when you want a pure deadline bar or an inline timer below the Add to Cart button (countdown timer guide).

Note that Sam FOMO enforces one bar per edge: if you already have an active bar at the top (or bottom) of your store, the editor displays a warning banner and the storefront shows only the most recently saved bar on that edge.

How do you keep promo bars from clashing on mobile?

On desktop, a 56-pixel bar at the top or bottom barely touches the viewport. On a phone, horizontal width is tight and several elements compete for the top and bottom edges.

Sam FOMO formats the Promo Bar specifically for small screens (768px and narrower): it switches to a clean 72-pixel two-row layout where your message sits on the first line and the countdown timer, coupon badge, and CTA button stay together on a single second line without wrapping or overflowing.

To keep your mobile layout clean, run through these four checks before leaving a bar live:

  1. Keep the message concise. Although the editor allows up to 120 characters, aim for 40 to 70 characters when you also enable a timer, a coupon code, and a button, so the first line reads in one glance on a phone.
  2. Never stack two bars on the same edge. If your theme’s built-in announcement bar is already active at the top of the page, either turn off the theme bar when activating a Sam FOMO Top bar (all pages), or set your Sam FOMO bar to Bottom bar (all pages).
  3. Check corner popups and chat buttons. If you use a Bottom bar (all pages) alongside Recent Sales or Live Visitors popups, set your corner popups to the top edge on mobile under Placement > More placement options so they do not overlap the bottom bar.
  4. Verify the close button (×) works cleanly. Shoppers who are not interested in the promo should be able to tap × once and browse the rest of their session without the bar reappearing on every click.

How do you measure whether top or bottom placement performs better?

Instead of guessing whether your shoppers respond better to a top bar or a sticky bottom bar, test one placement per promotion and compare the numbers.

  1. Check impressions, clicks, and close rate in Sam FOMO. Open Analytics in Sam FOMO to review Impressions, Visitors, Clicks, and Click-through rate, and look at Performance by popup type to see the close rate and the mobile versus desktop split for your Promo Bar (analytics and usage guide).
  2. Interpret a high close rate on mobile. If shoppers on phones close a bottom bar at a much higher rate than desktop visitors without clicking the button or copying the code, the bar is likely sitting too close to your mobile Add to Cart area or navigation. Switch Placement to Top bar (all pages) and compare the next period.
  3. Track code redemptions in Shopify Discounts. When your bar includes a coupon code, check Discounts in your Shopify admin to see how many completed orders actually used the code—whether shoppers copied the badge or clicked the auto-apply button.
  4. Remove or swap the bar on schedule. Once a dated sale ends, either turn off the promo bar or switch it back to an evergreen top bar (such as your free shipping threshold) so returning visitors always see an accurate offer.

Frequently asked questions

What is the difference between a top promo bar and a bottom promo bar on Shopify?

A top promo bar sits above your store header and is the first thing shoppers read when a page loads. When it scrolls with the page, it gets out of the way as shoppers read product details. A bottom promo bar stays pinned to the bottom edge of the screen while shoppers scroll, keeping a coupon code, countdown, or CTA button in reach.

Should a Shopify announcement bar be sticky?

It depends on your theme header and the offer. If your theme already has a sticky navigation header at the top of the screen, a second sticky top bar takes up extra vertical space on phones and can overlap your menu. A scrolling top bar or a dismissible sticky bottom bar avoids header collisions while keeping your offer visible.

Does a promo bar hurt Cumulative Layout Shift (CLS) or mobile SEO?

A small banner that is easy to dismiss follows Google Search Central guidance against full-screen intrusive interstitials. To protect your Cumulative Layout Shift score—which web.dev defines as 0.1 or less for a good page experience—a top bar should reserve its height before the first paint rather than pushing the page down after scripts load.

Can I run both a top bar and a bottom bar at the same time?

Technically yes, because top and bottom are separate screen edges. In practice, running two bars at once on mobile leaves less room for your product photos and buy button. Pick one edge for your main store-wide message, or restrict the second bar to desktop or specific pages.

How do I add a promo bar with a clickable coupon code and countdown to Shopify?

Your theme's built-in announcement bar supports plain text and a link, which you can point to a Shopify shareable discount link (/discount/CODE). To show a click-to-copy coupon badge, a CTA button, and a live countdown in a top or bottom bar, use an app such as Sam FOMO's Promo Bar.

Sources

  1. Shopify Help Center: Add an announcement bar
  2. Shopify Help Center: Sharing discount codes
  3. web.dev: Cumulative Layout Shift (CLS)
  4. Google Search Central: Avoid intrusive interstitials and dialogs

Part of our guide: Social proof →

Turn store activity into social proof

Install Sam FOMO free and turn on your first sales pop-up in minutes.

Install free on Shopify

★ 4.6 (17 reviews) Built for Shopify Free plan available