Support Forums

Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

SP CountDown Color

Featured Lock Resolved Issue
Hello,

I am trying to change the color of the countdown numbers in the SP Countdown Addon.
I have tried setting the color in the Countdown Color input under Countdown options and it is not working.
I simply want all of the countdown numbers to be one color.
See attached please...

Thanks for your help.
John

Attachments (2)

  • Counter Text Color.jpg
    Counter Text Color.jpg 44.3 KB
  • Counter.jpg
    Counter.jpg 42.3 KB

11 Answers

Rifat Wahid Alif - Staff

More than a month ago #Permalink
HI,
Open the following file /templates/shaper_eventum/sppagebuilder/addons/countdown/site.php on 60 no line you will get:


$counter_style .= (isset($this->addon->settings->counter_text_color) && $this->addon->settings->counter_text_color) ? "color: " . $this->addon->settings->counter_text_color . ";" : '';

replace it by:

$counter_style .= (isset($this->addon->settings->counter_text_color) && $this->addon->settings->counter_text_color) ? "color: " . $this->addon->settings->counter_text_color . " !important;" : '';


- Thanks

John Gerald

More than a month ago #Permalink
Rifat,
Thank you that fixed it.

Rifat Wahid Alif - Staff

More than a month ago #Permalink
You are always welcome :)

Bro Mie Mohamad

More than a month ago #Permalink
Thanks support for the reference :) .

One more thing, how to make the number align center in the box?

Attachments (1)

  • 2019-06-21_11-52-30.jpg
    2019-06-21_11-52-30.jpg 37.2 KB

Rifat Wahid Alif - Staff

More than a month ago #Permalink
Hi,
Thanks for the query, in this case, you need to share your URL then we can inspect your site and give you the exact solutions.

- Thanks

Bro Mie Mohamad

More than a month ago #Permalink
Hi,
Thanks for the query, in this case, you need to share your URL then we can inspect your site and give you the exact solutions.

- Thanks


Here is the address http://infopendidikan.com.my/live/

Bro Mie Mohamad

More than a month ago #Permalink
Any solution??
Hi,
Thanks for the query, in this case, you need to share your URL then we can inspect your site and give you the exact solutions.

- Thanks

Rifat Wahid Alif - Staff

More than a month ago #Permalink
Hi
I can only see Error while I am trying to visit your site: http://prntscr.com/o5tkaj

- Thanks

Bro Mie Mohamad

More than a month ago #Permalink
Hi
I can only see Error while I am trying to visit your site: http://prntscr.com/o5tkaj

- Thanks


Sorry just now we doing restoring the web server. Now work fine. Can yoj check the countdown? Still not justfy to center

Thanks

Rifat Wahid Alif - Staff

More than a month ago #Permalink
Hi,
Thanks for your reply. Please paste this CSS in the follwoing file: /templates/shaper_eventum/css/custom.css


.event-countdown #countdown-timer .sppb-countdown-number {
text-align: center;
padding: 10px;
}


- Thanks


There are no replies made for this post yet.
Be one of the first to reply to this post!

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 133
Sifat

Sifat

Total Accepted Answers: 88
Toufiq

Toufiq

Total Accepted Answers: 41
Pavel

Pavel

Total Accepted Answers: 7
Al Mamun

Al Mamun

Total Accepted Answers: 3

114

Templates

292518

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us