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.

Tip See the Countdown banner section for a larger alternate 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 you can create new templates or insert dynamic content with metafields.

STEPS

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.

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.

Add section content

Headings and text

Change the Heading and Text that display within the bar.

STEPS

In your theme editor (Customize):

  1. Click 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 recommended 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.

Button

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

STEPS

In your theme editor (Customize):

  1. Click 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: Primary button (Solid), Secondary button (Solid), Tertiary button (Outline), or Text.

  5. Click Save.

Background image

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

STEPS

In your theme editor (Customize):

  1. Click 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. Click Save.

Settings reference

Click the Countdown bar section to find the following settings.

Bar

SettingDescription

Height

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

Mobile height

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

Enable full width

Choose to display the bar the full width of the screen or window.

Timer

SettingDescription

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.

Hider 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.

Header content

SettingDescription

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 call-to-action text to display as the button label. The most effective button labels ask customers to do something (e.g. Get started, Join us, Shop now).

Button style

Choose a style for the button. Select Primary button (Solid), Secondary button (Solid), Tertiary button (Outline), or Text.

Section colors

SettingDescription

Color scheme

Change the color scheme applied to the section text and background. Select the Default color scheme from your theme settings or select a variant scheme based on the default colors: either Inverse, Soft, Accent, or Sale. You may also select one of the two custom color schemas.

Learn more about Color schemes.

Override with custom colors

Check this option to apply custom colors to the section.

These colors will override the color scheme.

Text color

Select a custom color for all section text.

This setting applies only if the Override with custom colors option is enabled.

Background color

Select a custom color for the section background.

This setting applies only if the Override with custom colors option is enabled.

Background image

SettingDescription

Image

Select or upload an image to display as the background of the banner. The image will override the color scheme and use the overlay colors selected in your theme settings.

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.

The image will override the color scheme and use the overlay colors selected in your theme settings.

Image focal point

Select the most important part of your mobile image to keep centered. Use focal points to avoid unwanted cropping across different screen sizes. You can specify a focal point for an image used within a section or for an uploaded image file. Learn more in our Image settings guide.

Mobile focal point

Select the most important part of your mobile image to keep centered. Use focal points to avoid unwanted cropping across different screen sizes. You can specify a focal point for an image used within a section or for an uploaded image file. Learn more in our Image settings guide.

Tint opacity

Use the slider to adjust the transparency of the overlay color.

Set the opacity to 0% to turn off the overlay color. If set to 100%, the overlay will be opaque.

Tint style

Choose to use a Solid overlay color or Gradient overlay for the tint. The gradient style fades across a range of hues.

You can select the angle and direction of the gradient from one of four options.

Override with custom colors

Check this option to use custom overlay colors for the tint.

These colors will override the overlay colors selected in your theme settings.

Text color

Select a custom color for the heading and text of the “View all” tile.

This setting applies only if the Override with custom colors option is enabled.

Tint color

Select a custom overlay text color for the tint.

This setting applies only if the Override with custom colors option is enabled.

Section style

SettingDescription

Top spacing

Increase or decrease the amount of space above the section.

Bottom spacing

Increase or decrease the amount of space below the section.

Enable animation

Choose whether to display visual effects when scrolling, hovering, or interacting with the section. See the Animation guide to learn more.


Related links

Countdown banner Promotion grid Sales banner

Last updated