Append plus symbol into an animated counter
-
Hello, how could I append plus symbol after count number. At https://woodmart.xtemos.com/animated-counter/ there are some samples of animated counters with numerical numbers. But rather than number like e.g. 324 I would prefer 324+ (with plus symbol).
I have tried solve it by the append function in JavaScript, but it seems I am doing something wrong, because nothing has happened. Here is the code part:
getElementsByClassName("counter")[0].$("span").append("<b>Appended text</b>");
Best Regards
Hi,
Try to add the following code snippet to the Custom CSS area in Theme Settings to do this
.woodmart-counter .counter-value:after {
content: "+";
display: inline;
}
Regards