Countdown bar

The Countdown bar section displays a live countdown for an upcoming event or sale. Use this section to create a sense of urgency or anticipation for your customers.

Customize this section to your liking with plenty of content, image, color, and style options. See the Countdown banner for a larger alternative layout.

Set up section

Add this section to your template and use the drag-and-drop handles to re-order its position. You can add this section multiple times with different content and settings.

Editing a template changes all pages that use that template. To edit specific pages, you can create new templates or insert dynamic content with metafields


In your theme editor (Customize):

  1. Select a Template to edit from the dropdown menu in the top bar.

    Learn how to use templates in our Templates guide.

  2. Under Template, click (+) Add section and select Countdown bar.

  3. Click and hold the drag-and-drop handles ⋮⋮ to re-order your sections.

Set up timer

Select the date and time for the end of the countdown. Choose to hide the timer when the countdown or add a message when the countdown is complete.


In your theme editor (Customize):

  1. Click the Countdown bar section to open the settings.

  2. Select the Year, Month, Day, Hour, and Minute for the completion date of your countdown.

  3. Check the Hide the timer on complete

    You may want to enable this option when using the countdown to display the amount of time remaining for a current event or promotion (such as a sale).

  4. Enter text for the Timer complete message that appears when the countdown reaches '0'.

    The message will appear only if the Hide timer on complete option is unchecked.

  5. Click Save.

Section content

Add section headings

Change the Heading and Text that display within the bar.


In your theme editor (Customize):

  1. Click on the Countdown bar section to open the settings.

  2. Enter Heading text to display as a title on the left side of the bar.

    we recommend one to three words.

    Delete the text in this field to remove the heading.

  3. Enter additional Text on the right side of the counter to provide more information to your customers.

    We recommend two to three short sentences.

    Use the formatting buttons to add text styles, links, or lists. To learn more, see Shopify's Rich text editor guide ↗.

  4. Click Save.

Add button

Add a Button to link to your collections or products or any other page with a custom label.


In your theme editor (Customize):

  1. Click on the Countdown bar section to open the settings.

  2. Select or paste a URL for the Button link.

  3. Enter text for the Button label.

    The most effective button labels ask customers to do something (e.g. Get started, Join us, Shop now). To learn more, read "What is a Call to Action?"

  4. Select a Button style: either Solid, Outline, or Text.

    The button uses the theme-wide button color set in the Theme settings.

  5. Click Save.

Add background image

Choose to display a background image that spans the entire bar instead of a background color.


In your theme editor (Customize):

  1. Click on the Countdown bar section to open the settings.

  2. (Optional) Under Background, click Select image to upload a background image.

    For optimal quality across all devices, we recommend images width or height of 2500px.

  3. Use Image focal points to specify the main focus of your images. The focal point of your image will remain centered and within frame when your site adapts to different screen sizes.

    See our image guide to learn more about specifying a focal point for an image used within a section or for an uploaded image file when used anywhere on your site.

  4. Use the color selector to change the Text and Background color.

    The background color appears when there's no background image.

  5. (Optional) Change the Overlay color and Overlay opacity using the slider to increase the contrast between the text and background image (if used).

    These settings help make your text clear and readable.

  6. (Optional) Click the Overlay gradient option to add a color overlay that fades across a range of hues.

    You can choose the style, angle, position, and opacity of the gradient. See Shopify's color gradient guide ↗ to learn more.

  7. Click Save.

Section style

Choose whether to enable Full width, customize section colors, and adjust the Padding of the section.


In your theme editor (Customize):

  1. Click on the Countdown bar section and scroll down to the Section style settings.

  2. Use the Height and Mobile Height sliders to adjust the height of the entire bar.

    Choose between 60 - 300px for desktop and mobile.

  3. Under Color in the section settings, use the color selectors to customize the Text, Buttons, Sold button text, and Background color.

    We recommend using WebAIM's contrast checker when matching colors to make sure your text is clear and readable for everyone.

  4. Choose to Enable animation to show visual effects when scrolling, hovering, or interacting with the section.

    Learn more about Section animations in Stiletto.

  5. Choose to display a Top divider that separates sections with a Solid line.

    The Top divider uses the color of Lines and borders set in the Theme settings.

  6. Select a Padding option to change the spacing between sections. Choose between Top and bottom, Top only, Bottom only, or set it to None.

  7. Click Save.

Settings reference

Click the Countdown bar section to find the following settings.


Header content

Background image

Section style

Related links

Countdown banner Promotion bar Promotion banner Sales banner

Last updated