Home Forums Basel support forum Animated counter unit

Animated counter unit

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #22434

    despina.mina
    Participant

    Hello,
    there is the possibility to add a measurement unit after the animated counter?
    For ex.500 sqm?
    Thank you

    #22437

    Artem Temos
    Keymaster

    Hi,

    You can do this globally for all counters only with this CSS code

    .basel-counter .counter-value:after {
    	display:inline;
    	content: "sqm";
    	font-size:18px;
    }

    Regards

    #22594

    despina.mina
    Participant

    Thank you,but i don’t want to add it globally.
    Is it possible to add it to a specific animated counter?

    #22603

    Artem Temos
    Keymaster

    In this case, you can add some extra class to your counter and use this code

    .your-custom-class.basel-counter .counter-value:after {
    	display:inline;
    	content: "sqm";
    	font-size:18px;
    }
Viewing 4 posts - 1 through 4 (of 4 total)