Change Date for Coming Soon Template

The days/hours/minutes/seconds are automatically calculated from a predefined date inside the template's Custom JavaScript section.

Table of Content

  • Step 1 : Navigate to Custom JS
  • Step 2 : Adjust target date & time

Step 1

Find your slider’s “Custom JavaScript” section:
/faq/custom-css-javascript/

Step 2

Adjust the target date and time found toward the top of the script.

Change this line:

var targetdate =  new Date().getTime() + 864000000 // i.e. '2015/12/31 22:00', 


To something like this:

var targetdate =  '2016/12/31 12:00',
Change Date for Coming Soon Template

The Author

KC

Strength does not come from winning. Your struggles develop your strengths. When you go through hardships and decide not to surrender, that is strength.

Liked this Post?
Please Share it!