Countdown bar

Use the Countdown bar section to display a live countdown for an upcoming event or sale. A countdown timer can create a sense of urgency or anticipation for your customers.

Check out the Countdown banner section for a larger alternate layout.

Set up section


In the editor side panel, click (+) Add section and select Countdown bar. Click and hold the drag handles ⋮⋮ to re-order sections.

Section styles

Sections include general styles. Click the section to find options for colors, spacing, and animations.

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.

STEPS

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.

Click Countdown bar to find settings

Setting
Description

Year

Enter the year of the end-date.

Month

Select the month of the end-date.

Day

Select the day of the end-date.

Hour

Select the hour of the end-time.

Minute

Select the minutes of the end-time.

Time zone

Choose to display the timer according to your Shop time zone or the User’s local time zone.

Hide timer on complete

Choose hide the countdown timer when it has completed.

Timer complete message

Add text to display a message when the timer has completed.

Add background image


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

Cover

Using color overlays

Learn how to change overlay colors and use gradients.

STEPS

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.

Click Countdown bar to find settings

Setting
Description

Image

Select or upload an image to display as the background of the banner.

There are no required image dimensions. We recommend a minimum width of 2500px.

Mobile image

Select or upload a mobile-specific image to display as the background of the banner.

Image focal point

For desktop and mobile, select the most important part of your image to keep centered. Use focal points to avoid unwanted cropping across different screen sizes.

Section content


Change the Heading and Text. Add a button with a custom style.

STEPS: Add headings and text

In your theme editor (Customize):

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

  2. Enter Heading text to display as a title at the top of the banner.

    we recommend one to three words.

    Delete the text in this field to remove the heading.

  3. Enter Subheading text to display beneath the heading.

    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. (Optional.) Enter additional Text beneath the countdown clock to provide more information to your customers.

  5. Click Save.

STEPS: Add button

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.

Click Countdown bar to find settings

Setting
Description

Heading

Add text to show a main heading.

Text

Add text to display below the main heading.

Button link

Select or paste a URL for a button. You can add up to three buttons below the section heading.

Button label

Enter text to display as the button label.

Button style

Choose a style for the button. Select Solid, Outline, or Text.

Bar height and width


  • Choose whether to enable Full width

  • Adjust the height for desktop and mobile

Click Countdown bar to find settings

Setting
Description

Enable full width

Display the banner at the full width of the screen or window.

Height

Change the height of the banner section for desktop screens: between 60 and 300 pixels.

Mobile height

Change the height of the banner section for mobile screens: between 60 and 300 pixels.

\


Related links

Countdown banner Promotion grid Sales banner

Last updated

Was this helpful?