How to Create a Bold (Yet Elegant) Colorful Countdown Timer Module With Divi

Last Updated on September 11, 2022 by 14 Comments

How to Create a Bold (Yet Elegant) Colorful Countdown Timer Module With Divi
Blog / Divi Resources / How to Create a Bold (Yet Elegant) Colorful Countdown Timer Module With Divi
Play Button

This post is part 3 of 5 in our mini series titledย 5 Impressive Ways to Style Diviโ€™s Countdown Timer Module. Stay tuned this week for all five unique examples of Diviโ€™s countdown module, with a tutorial on how to achieve each one!


In yesterdayโ€™s post, Iย discussed some of the various benefits of using a countdown timer on your WordPress website, and I alsoย showed you how to restyle Diviโ€™s countdown timer module with โ€œsimple elegance.โ€ In todayโ€™s post, Iโ€™m going to continue the tutorial series and show you how to use Diviโ€™s countdown timer module to create a bold and colorful website countdown. Letโ€™s get started!

The Divi Countdown Module: Before & After

Just like we did in yesterdayโ€™s post, letโ€™s take a look at our starting point. Below is a screenshot of the Divi countdown module with the default settings.

default-divi-countdown-module

Now, letโ€™s take a look at where weโ€™re going.

divi-countdown-bold-colorful

As the title of this post suggests, this countdown timer is designed to be bold. Itโ€™s designed to grab the attention of the website visitor and make sure they know something big is coming.

The great thing about this countdown styling is it can be used on any type of website. Itโ€™s modern and minimal design allow it to blendย nicely with any style of page, while itโ€™s bold colorย will snagย the userโ€™s attention. Not a fan of the red? Donโ€™t worry, Iโ€™ll show you to change it to match any websiteโ€™s color palette further down in this tutorial.

Creating the โ€œBold & Colorfulโ€ Divi Countdown Timer Module Design

Subscribe To Our Youtube Channel

Preparing the Design Elements

Another great benefit of this countdown timer styling is there is actually no design elements to prepare! Everything is done with the powerย of CSS (and the built in Divi controls too of course!).

Implementing the Design with Divi

Since thereโ€™s no design elements to prepare,ย we can head straightย to Divi. For the sake of simplicity, Iโ€™m going to create a new page for this tutorial, however you can easily follow along if youโ€™d like toย add this to an existing page. So Iโ€™m going toย create a new page in WordPress, enable Divi, and then head on over to the gorgeous new visual builder.

If youโ€™ve created a new page like I have, then thereโ€™s already a blank section in place for us. Otherwise, create a new section if youโ€™re adding this to your existing Divi page.

Now weโ€™re going to add aย row by clicking on the green (+) circle icon, then click on the icon for the one column row as indicated by the red arrow in the screenshotย below.

 

adding-rows-to-divi-visual-builder

Next,ย Divi will automatically prompt you to choose a module from the list. Yep you guessed it, select the countdown timer.

inserting-countdown-timer-in-divi

Adjusting the Module Settings

Now itโ€™s time to start digging into the countdown timer settings.ย The settings modal for the countdown timer shouldย automaticallyย open once youโ€™ve added the module, however if you already closed it, then hover over the countdown timer thenย click on the gear icon in the dark gray set of controls that appears.

Now, hereโ€™s the settings weโ€™ll be changing. If thereโ€™s a setting that isย not mentioned below, then leave it as default.

In theย Generalย settings:

  • choose a date to countdown to (I chose January 1st)
  • change background color toย #e6434d

Hereโ€™s what the General settings should look like:

countdown-timer-settings

Next, click the tab forย theย Designย settings:

  • change all fonts (Header, Numbers, and Labels) to โ€˜Oswaldโ€™, with uppercase (TT icon) and bold

countdown-module-divi-advanced-design-settings

Now click save! Hereโ€™s what your countdown module should look like so far:

countdown-module-progress

Not bad! Now for the CSS to finish things off!

Adding the Custom CSS

The last thing we need to do is add a little custom CSS magic to take us the rest of the way there!

Before we can start adding the custom CSS though, weโ€™ll need to add our own custom CSS classes so that weโ€™ll only customize the CSS of the single countdown timer module weโ€™re working on now, and notย ALL countdown timers that are on the site or will be on the site.

Open up, the module settings, and click over to the CSS tab of the module settings, and addย custom-countdown-2ย as the CSS class. You can of course name the CSS class whatever youโ€™d like, but youโ€™ll have to also rename the classes in the below CSSย in order for it to work.

countdown-timer-settings-custom-css-class

 

Okay, now weโ€™re ready to add the custom CSS.ย Youโ€™ll have the option of adding the custom CSS to the Divi Theme Options custom CSS box, or the custom CSS box on the individual page settings. The difference is the custom CSS box in the page settings will only add the CSS to the one page, while adding it to Divi Theme Options will add it to every page of the site.

If you think youโ€™ll be adding more countdown timers later with this same styling to other pages, then add the CSS to the Divi Theme Options panel. Otherwise, you canย add it to the page settings custom CSS box.

To open up page settings, click on the purple gear icon at the bottom of your screen. If you donโ€™t see the gear icon, click the purple button that you do see to expose the rest of the menu.

divi-visual-builder-page-settings-icon

Then, click on the CSS tab and paste the CSS below into the box like so.

 


.custom-countdown-2 {
 max-width: 620px;
 margin-left: auto;
 margin-right: auto;
 border-radius: 8px;
 box-shadow: 6px 4px 74px #b36e6e;
}
.custom-countdown-2 .value {
letter-spacing: 6px;
background-color: #dc2d43;
padding: 30px 6px !important;
padding-left: 11px !important;
width: 89px !important;
}

.custom-countdown-2 .days {
margin-right: 37px;
}

.custom-countdown-2 div.sep.section p {
display: none;
}

.custom-countdown-2.et_pb_countdown_timer .section.values {
width: 18%; 
}
.custom-countdown-2 .days .value {
 width: 129px !important;
}

If you used the custom CSS box within the individual page settings, then you should have seen it update in real time, thanks to the live updating in Diviโ€™s new visual builder. For learning purposes, it may be helpful to paste the above CSS one chunk at a time. That will help show you what CSS is controlling which element of the countdown timer. This can be a great learning experience if youโ€™re new to CSS.

Be sure to save your changes within the page settings box after pasting the CSS, as well as the page itself.

Now, letโ€™s admire what we created!

bold-and-colorful-countdown-timer-in-divi-completed

Tomorrow:ย How to Create a Countdown Timer with a Animated Gradient Background

I hope you enjoyed todayโ€™s countdown timer tutorial. We still have two days left of out miniseries! So check back tomorrow to learn how to add a beautiful animating gradient background to your countdown timer in Divi!

Be sure toย subscribe to our email newsletterย andย YouTube channelย so that you never miss a big announcement, useful tip, or Divi freebie!

Divi Marketplace

Are You A Divi User? Find Out How To Get More From Divi! ๐Ÿ‘‡

Browse hundreds of modules and thousands of layouts.

Visit Marketplace
Divi Marketplace
Divi Cloud

Find Out How To Improve Your Divi Workflow ๐Ÿ‘‡

Learn about the new way to manage your Divi assets.

Get Divi Cloud
Divi Cloud
Divi Hosting

Want To Speed Up Your Divi Website? Find Out How ๐Ÿ‘‡

Get fast WordPress hosting optimized for Divi.

Speed Up Divi
Divi Hosting
Premade Layouts

Check Out These Related Posts

14 Comments

  1. Impressive, very useful thank you Tim

    • I’m glad you found it useful, Denis!

  2. Nice looking! Thank you!

    • Thank you, Jordan ๐Ÿ™‚

  3. Wow, that’s an awesome tutorial Tim. This alone can change the way we do landing pages on WordPress ( the landing pages are also thanks to Divi’s Magic).

    The urgency thing we use for marketing comes in perfect with the countdown timer. I can’t wait to go put this to use.

    Thank you for taking all the effort, Tim.

  4. Nice design and thanks for guidance ๐Ÿ˜€

  5. Would like to have an evergreen timer option

  6. This is some thing i way looking for . Congrats team great utility.

    We need really good pop-ups now, Look some hack related to it in near future.

    Thanks

  7. The design looks great but isnt mobile responsive – any suggestions?

  8. ANyone know what happened to the rest of the post slider tutorials?

  9. Great post and useful design, Thank You

    • Thanks, and you’re welcome ๐Ÿ™‚

  10. Amazing! Thank you!!

    • Thanks, Johnson. I’m glad you like it.

Leave A Reply

Comments are reviewed and must adhere to our comments policy.

Join To Download Today