Adding the % to the facts Template

Hello!

I am working with the facts template and would like to add the % symbol for each value. I tried just adding the symbol to the fact template interface but when updating it, the symbol on each value still won’t show. Is there any code I can add to the php file so it allows the % symbol to show? Help please.

thanks much!

Fabi

Hey,

Yeah, the fields only allow numbers. You don’t need to modify the PHP file, you just need to add this to your custom CSS:


.fact:after {
    content: '%';
}

Let me know if you need the % symbol just for some of the facts and not for all.

Hi Vlad, best developer I’ve encountered – thank you!

Let me know if you need the % symbol just for some of the facts and not for all.

Can you please elaborate? I would like to use % and/or $ on just some values and not others.

Thank you,
Michael