Skip to content
Order Genie is live on the Shopify App Store — 25 free conversations, forever →
Announcement Bar 6 min read

Announcement Bar Design on Shopify: Colour, Contrast, Size

Design an announcement bar that gets read: colours from your brand, a 4.5:1 contrast target, text size and weight, and one line on a phone.

ShopAppsLab The team building Announcement Bar
On a pale mint background, a wide teal band across the top with a small amber arrow, above the words Read at a glance

Seen, but not shouted

An announcement bar sits in the most valuable strip of the page: the top, above everything else, on every page a shopper opens. That position is the reason to use it, and the reason its design matters. A bar that is hard to read wastes the spot. A bar that is too loud makes the rest of the store look smaller, and shoppers soon learn to ignore it.

What to write is covered in announcement bar messages that get read. This post is about how the bar looks: colour, contrast, type and length, and how to check all of it on a phone.

Start from your own colours

The bar should look like part of your store, not like an ad that loaded above it. The simplest way is to take its colours from what you already use:

  • Your darkest brand colour as the background, with white text. A common choice, and usually the safest for contrast.
  • A light tint of your brand colour, with dark text. Calmer, and useful when your header is already dark and you want a little separation.
  • Your accent colour, the one on your buttons, for a short campaign such as a sale weekend. Use it sparingly: if the bar is the same colour as the Add to cart button, the two start competing for attention.

Be careful with bright red unless it is part of your brand. Shoppers associate it with errors and warnings, and for most messages (“Free delivery over…”) that is the wrong signal.

Contrast: the one number to check

The most common design problem in announcement bars is low contrast: light grey on white, white on a pale pastel, brand-coloured text on a slightly different brand-coloured background. It looks soft and stylish in a mock-up and becomes hard to read on a phone in daylight.

The Web Content Accessibility Guidelines (WCAG) give a clear target: a contrast ratio of at least 4.5:1 for normal-size text, and 3:1 for large text. Announcement bar text is almost always normal size, so 4.5:1 is the one to meet.

You do not need to work it out by hand. Paste your two colours into any free contrast checker (search for “WCAG contrast checker”) and it tells you the ratio and whether it passes. If it fails, darken the background or the text a step and check again. It usually takes one or two tries.

Good contrast is not only for shoppers with low vision. It is what makes the bar readable for everyone on a small screen, in sunlight, at a glance.

Type: size, weight and spacing

Announcement bars usually use small text, and that is fine: the bar should not be the loudest thing on the page. But small text needs help to stay readable:

  • Size. Close to your body text, or a little smaller. Much smaller than that and phone users will squint.
  • Weight. A medium or semi-bold weight reads better at small sizes on a coloured background than a light one.
  • Letter spacing. A little extra spacing helps short uppercase text. Lowercase text usually reads better without it.
  • Uppercase. Capitals can look tidy for a few words (“FREE SHIPPING OVER $50”), but a long sentence in capitals is slower to read. If the message is more than six or seven words, use normal case.

A typeface that differs from the rest of the store is one of the quickest ways to make a bar look added on, so check that the bar’s text sits comfortably next to your header.

Length: write for the narrowest screen

On a desktop, a bar can hold a long sentence. On a phone, the same sentence wraps to two or three lines, pushes the page down, or gets cut off. Design for the phone first:

  • Aim for a message that fits on one line of a phone screen. With small text that is usually somewhere around 35 to 45 characters, depending on the font and size; check on your own phone rather than trusting a count.
  • Put the important part first. “Free shipping over $50” still works if the end is cut off; “Great news for all our customers: free shipping…” does not.
  • If a message needs more words, link it to a page that explains the details, and keep the bar to the headline.

If you rotate several messages, check each one, not only the first. The post on rotating announcement bars covers how many to show and in what order.

Sticky or not

A sticky bar stays at the top of the screen while the shopper scrolls. That suits a short, time-sensitive message, such as an order-by date before a holiday. On a phone, though, a sticky bar takes up space on every screen of every page, so keep it short and thin, and let shoppers close it if they want to.

Whichever you choose, check that the bar does not cover the menu, the search icon or the cart icon on a small screen.

Check it like a shopper

Before you leave the bar up, do four checks on your own phone:

  1. Read it at arm’s length, near a window. If you have to bring the phone closer, the contrast or the size is too low.
  2. Count the lines. One is right. Two is acceptable for a few days. Three means rewrite.
  3. Open a product page and the cart. The bar shows on every page, so make sure it does not crowd the product title or the checkout button.
  4. Compare it with the header. Does it look like the same shop? If not, adjust the colours until it does.

If your bar announces a free shipping threshold, check while you are there that the number in the bar matches the one at checkout.

Where we come in, briefly. Announcement Bar is one of three blocks in Store Essentials, the free app we build at ShopAppsLab. It puts up to five rotating messages at the top of every page, in your colours — switched on once from the theme editor, with no code. You choose the background and text colour, font size, weight, letter spacing and uppercase, and whether the bar is sticky. There are no paid plans, and the app asks for no access to your store’s data. Everything above works without it — that is the honest version.

If you do one thing this week

Put your bar’s background and text colours into a contrast checker. If the ratio is under 4.5:1, change one of them, then read the bar on your phone near a window.