MehdiN MehdiN - 2 years ago 91
HTML Question

How to remove the number and seconds text from this codepen

I am simply trying to put custom text in the center of this countdown circle but I can't figure out how to replace the number and text currently in the center.

Codepen link:

Example Code:

<div class="progress-pie-chart" data-start-time="30" data-percent="30">
<div class="ppc-progress">
<div class="ppc-progress-fill"></div>
<div class="ppc-percents">
<div class="pcc-percents-wrapper">
<span>Changing this does nothing</span>

I thought if I change the span text it would work but no dice :(

Roy Roy
Answer Source

Make your change in line number 40.

$('.ppc-percents span').html('Your text');


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download