Back to Blog

How to Build a Count Down Timer in Webflow

Tutorials
May 6, 2021

Add a Count Down Timer to your Webflow page in seconds with this simple guide.

{{ Template "copy-button" "id:extension-countdown" }}

Overview ūüďö

Got something special that you're counting down too? Have a limited time offer?
This is a simple solution to integrate a countdown into your Webflow Projects.

To add this into your project, follow the simple steps and add the custom code into your project or page settings.

{{ Template "gist" "text:Before </body> tag" "id:f2a6224b5ef93355bed7df4bc6a80ef7" }}

Instructions ‚úćÔłŹ

1. Add the custom code to your page.

Navigate to your project or page settings area and add the custom code into the before </body> tag area.

You can see this code references a few #IDs, these are the days, hours, minutes and seconds. We will add these attributes to our text elements to render the countdown.

‚Äć

2. Add text elements that display the days, months etc

Add text elements to your page as you require, days, hours, minutes, seconds. If you wish to display all units, days, hours, minutes, seconds you will want to add 4 text elements to your page.

‚Äć

3. Add #ID for Days, Hours, Minutes, Seconds

While your text element is selected, navigate to the settings panel and add the IDs to match the type of count down element you require.

As mentioned, these #IDs are

  • days
  • hours
  • minutes
  • seconds

You can see how we do the same thing for hours

4. Publish & Test

That's it, you can publish this and test it works as intended.

OTHER BLOG ARTICLES

Check out some other articles!

Join Over 55,000+
Creators Today

Join our newsletter list for occasional updates, products and insights.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Join 55,000+ other creators across our communities.