Methods to Show Time Conditional Content material when a Countdown Timer Expires in Divi

by | Oct 19, 2021 | Etcetera | 0 comments

Appearing time conditional content material subject matter when a countdown timer expires typically is a tricky promoting software. Everyone knows those countdown timers are one of the most best possible tactics to incentivize consumers to take action on a site. They’re best for that incorporates limited-time gives for memberships, products, Black Friday promos, and lots of others. But when the timer comes to complete, it’s essential have a very good probability to retarget visitors with time conditional content material subject matter. Time conditional content material subject matter is content material subject matter that is displayed (or hidden) on a web internet web page previous to or after a collection date and time. So it’s smart to have new content material subject matter in a position to show visitors who not noted out on a deal or ran out of time.

In this tutorial, we’re going to show you the easiest way to turn time conditional content material subject matter when a countdown timer expires in Divi. To try this, we’re going to make use of Divi’s new state of affairs possible choices to turn certain content material subject matter previous to and after a collection date and time that coincides with a countdown timer. Previous to the timer runs out, visitors will be able to profit from a limited-time deal. After the timer runs out, visitors will also be invited to subscribe to a newsletter to get deal notifications.

Let’s get started!

Sneak Peek

Right here’s a quick take a look on the time state of affairs content material subject matter and countdown timer we’ll assemble in this tutorial.

That is the segment previous to the countdown timer expires.

time conditional content when countdown timer expires

And right here’s the segment after the countdown timer expires.

time conditional content when countdown timer expires

Download the Construction for FREE

To position your fingers on the designs from this tutorial, you’ll first wish to download it the use of the button underneath. To comprehend get entry to to the download it is very important subscribe to our Divi Daily e mail tick list by way of the use of the form underneath. As a brand spanking new subscriber, you’ll download a lot more Divi goodness and a free Divi Construction pack each and every Monday! When you occur to’re already on the tick list, simply enter your e mail take care of underneath and click on on download. You’ll not be “resubscribed” or download additional emails.

.et_bloom .et_bloom_optin_1 .et_bloom_form_content { background-color: #4843d2 !crucial; } .et_bloom .et_bloom_optin_1 .et_bloom_form_container .et_bloom_form_header { background-color: #ffffff !crucial; } .et_bloom .et_bloom_optin_1 .carrot_edge .et_bloom_form_content:previous to { border-top-color: #ffffff !crucial; } .et_bloom .et_bloom_optin_1 .carrot_edge.et_bloom_form_right .et_bloom_form_content:previous to, .et_bloom .et_bloom_optin_1 .carrot_edge.et_bloom_form_left .et_bloom_form_content:previous to { border-top-color: transparent !crucial; border-left-color: #ffffff !crucial; }
@media easiest show and ( max-width: 767px ) {.et_bloom .et_bloom_optin_1 .carrot_edge.et_bloom_form_right .et_bloom_form_content:previous to { border-top-color: #ffffff !crucial; border-left-color: transparent !crucial; }.et_bloom .et_bloom_optin_1 .carrot_edge.et_bloom_form_left .et_bloom_form_content:after { border-bottom-color: #ffffff !crucial; border-left-color: transparent !crucial; }
}.et_bloom .et_bloom_optin_1 .et_bloom_form_content button { background-color: #f92c8b !crucial; } .et_bloom .et_bloom_optin_1 .et_bloom_form_content .et_bloom_fields i { color: #f92c8b !crucial; } .et_bloom .et_bloom_optin_1 .et_bloom_form_content .et_bloom_custom_field_radio i:previous to { background: #f92c8b !crucial; } .et_bloom .et_bloom_optin_1 .et_bloom_border_solid { border-color: #f7f9fb !crucial } .et_bloom .et_bloom_optin_1 .et_bloom_form_content button { background-color: #f92c8b !crucial; } .et_bloom .et_bloom_optin_1 .et_bloom_form_container h2, .et_bloom .et_bloom_optin_1 .et_bloom_form_container h2 span, .et_bloom .et_bloom_optin_1 .et_bloom_form_container h2 robust { font-family: “Open Sans”, Helvetica, Arial, Lucida, sans-serif; }.et_bloom .et_bloom_optin_1 .et_bloom_form_container p, .et_bloom .et_bloom_optin_1 .et_bloom_form_container p span, .et_bloom .et_bloom_optin_1 .et_bloom_form_container p robust, .et_bloom .et_bloom_optin_1 .et_bloom_form_container form input, .et_bloom .et_bloom_optin_1 .et_bloom_form_container form button span { font-family: “Open Sans”, Helvetica, Arial, Lucida, sans-serif; } p.et_bloom_popup_input { padding-bottom: 0 !crucial;}

You might have successfully subscribed. Please take a look at your e mail take care of to ensure your subscription and get get entry to to free weekly Divi layout packs!

To import the segment layout in your Divi Library, navigate to the Divi Library.

Click on at the Import button.

Throughout the portability popup, make a selection the import tab and choose the download report from your computer.

Then click on at the import button.

divi notification box

Once completed, the segment layout will also be available throughout the Divi Builder.

Let’s get to the training, lets?

What You Want to Get Started

expanding corner tabs

To get started, it is very important do the following:

  1. When you occur to haven’t however, install and activate the Divi Theme.
  2. Create a brand spanking new internet web page in WordPress and use the Divi Builder to edit the internet web page on the front end (visual builder).
  3. Select the selection “Assemble From Scratch”.

After that, you’ll have a blank canvas to start out designing in Divi.

Easy methods to Display Time Conditional Content material subject matter when a Countdown Timer Expires in Divi

Step 1: Uploading the Pre-made Divi Construction

Open the internet web page settings menu and then click on at the plus icon to put across up the Load From Library popup. To find the Craft School Construction Pack and then click on on to use the Craft School Area Internet web page Construction.

time conditional content when countdown timer expires

As quickly because the layout has been added, delete the main 3 sections of the layout so that easiest the countdown segment and footer segment keep. We’re going to make use of the ones sections to build our time conditional content material subject matter and countdown timers.

See also  10+ Personal Seek Engines That Don’t Observe You

time conditional content when countdown timer expires

Step 2: Surroundings the Date & Time on the Countdown Timer

Next, to search out the countdown timer module and open the settings. Beneath the content material subject matter tab, add the date and time you want the deal to expire. In this example, we’re surroundings the date to October 15 and the time to 12:00.

NOTE: We will use this an identical date and time once we add the time conditional content material subject matter later.

time conditional content when countdown timer expires

Section 3: Add Time Scenario to Display Phase Previous to the Set Date and Time

In an effort to trade the content material subject matter each and every time the countdown timer expires, we wish to add a time state of affairs to turn the entire segment previous to the set date and time in the past added to the countdown timer.

To try this, open the settings for the segment containing the countdown timer.

Beneath the difficult tab, click on on so that you could upload a brand spanking new display state of affairs. From the dropdown, make a selection the Date & Time state of affairs.

time conditional content when countdown timer expires

Within the an identical box, exchange the settings of the Date and Time must haves as follows:

  • Be sure that the selection Display Most straightforward If Provide Date is ready to Is Previous to.
  • Select the Date and Time that matches the date and time in the past added to the countdown timer.

time conditional content when countdown timer expires

Step 5: Rising the Time Conditional Content material subject matter for After Timer Expires

We already have slightly of content material subject matter that may show previous to the timer expires. Now we wish to create a brand spanking new segment of content material subject matter that may be displayed after the timer expires. To try this, reproduction the segment with the time state of affairs. On the new segment, you’ll have the ability to alter the admin label to be informed “Countdown After” in order that you won’t confuse the two.

time conditional content when countdown timer expires

Open the settings for the reproduction segment and exchange the Date & Time display state of affairs selection Display Most straightforward If Provide Date to Is After. You’ll want to keep the date and time exactly the an identical since the countdown timer. We would really like this segment to be displayed after the countdown timer expires.

time conditional content when countdown timer expires

Step 6: Add/Substitute Time Conditional Content material subject matter

As quickly because the deal has ended, we wish to reflect that by way of together with a strike all over the heading along with give it a gentle gray color.

To do that, open the settings of the text module containing the primary heading and exchange the following:

  • Heading 2 Font Style: Strikethrough
  • Heading 2 Text Color: #ddd
See also  Find out how to Simply Replace URLs When Transferring Your WordPress Web page

time conditional content when countdown timer expires

Next, open the settings for the second text module and change the content material subject matter as follows:

html

time conditional content when countdown timer expires

Beneath the design tab, exchange the text styling as follows:

  • Text Font Weight: Semi Bold
  • Text Text Size: 18px
  • Text Line Most sensible: 1.8emHeading 3 Text Color: #000
  • Heading 3 Text Size: 44px (desktop), 38px (tablet and make contact with)

time conditional content when countdown timer expires

Next, switch the countdown timer up one position, correct underneath the best possible text module with the primary heading. Then delete the button module at the bottom. We will alternate this with an e mail selection module.

time conditional content when countdown timer expires

To create the email optin, switch (or replica and paste) the prevailing e mail optin module throughout the bottom footer segment of the pre-made layout and place it throughout the segment containing the after content material subject matter under the bottom text module

time conditional content when countdown timer expires

Open the email opt-in settings and exchange the button text and e mail account wisdom as sought after.

time conditional content when countdown timer expires

Beneath the design tab, exchange the sector and button colors as follows:

  • Fields Background Color: #f8f8f8
  • Button Background Color: #de6561

time conditional content when countdown timer expires

Final End result

That’s it! Let’s analysis what we’ve completed.

  1. We set the countdown timer to complete on Oct. 15 at 12:00.
  2. We added a Date & Time display state of affairs to the main segment so that it could be displayed BEFORE Oct. 15 at 12:00.
  3. We created a brand spanking new segment of content material subject matter with a Date & Time display state of affairs that displays the segment AFTER Oct. 15 at 12:00.

time conditional content when countdown timer expires

That is the segment previous to the countdown timer expires.

time conditional content when countdown timer expires

And right here’s the segment after the countdown timer expires.

time conditional content when countdown timer expires

Final Concepts

Time conditional content material subject matter and countdown timers make a useful combo when promoting limited-time gives. And with Divi, you’ll have the ability to merely take control of each and every. As quickly because the countdown timer’s date and. time is ready, all you need to do is choose what content material subject matter you want to show previous to and/or after that exact same date and time. Optimistically, this will likely most likely help give your visitors a better revel in when seeing those expired gives.

I look forward to being attentive to from you throughout the comments.

Cheers!

.inline-code{padding: 0px 4px; color: pink; font-family: Monaco,consolas,bitstream vera sans mono,courier new,Courier,monospace!crucial} video.with-border {border-radius: 8px;box-shadow: 0 8px 60px 0 rgba(103,151,255,.11), 0 12px 90px 0 rgba(103,151,255,.11);display:block;margin: 0 auto;}

The submit How to Display Time Conditional Content when a Countdown Timer Expires in Divi seemed first on Elegant Themes Blog.

WordPress Web Design

[ continue ]

WordPress Maintenance Plans | WordPress Hosting

read more

0 Comments

Submit a Comment