I want to remove ‘days’ from the timer
-
I want to remove ‘days’ from the timer and place the labels beside the numbers
Attachments:
You must be
logged in to view attached files.
Hello,
Try to add the following custom css code in Theme Settings > Custom CSS.
.wd-timer.wd-labels-hide .wd-timer-text {
display: inline-block !important;
}
/* Align number and label side by side */
.wd-timer > .wd-item {
flex-direction: row !important;
gap: 4px;
align-items: center;
}
/* Hide days block */
.wd-timer .wd-timer-days {
display: none;
}
.wd-timer .wd-timer-days + .wd-sep {
display: none;
}
Best Regards,
i want to change seconds spelling “sc” to “sec”
Hello,
Try to add the following custom css code in Theme Settings > Custom CSS.
/* Hide the original seconds text */
.wd-timer-sec .wd-timer-text {
visibility: hidden;
position: relative;
}
/* Add your custom label "sec" */
.wd-timer-sec .wd-timer-text::after {
content: "sec";
visibility: visible;
position: absolute;
left: 0;
}
Best Regards,