0
Answered

Change badge font size

Gerardo 3 years ago updated by Josh 3 years ago 5

Hello, 

I have the Style 4 badge, how do I change the font size with custom CSS?

I think that when possible, you should document this

Thanks!!

Also, I would like to put an anchor there, so when I touch "Reseñas" it scrolls to another part of the page: 

Thanks!!

Under review

This should control the font size...


span.wppro_badge1_SPAN_13.b3s13 {

font-size: 16px;

}

span.wppro_badge1_DIV_12 {
font-size: 16px;
}

You can use the ID for the element you want to scroll to in this setting...

You could also do it with an overall badge click like so...

Hello 

The font-size seems to be not working after I put the anchor, the text becomes so tiny that I can not see it. I attach what I configured (what you mentioned) and the result

If I remove the anchor, the font-size works well

Thanks

Add the !important rule...

span.wppro_badge1_SPAN_13.b3s13 {
font-size: 16px !important;
}

span.wppro_badge1_DIV_12 {
font-size: 16px !important;
}