Archived topic
Label widget change font size and font
9 replies · Started by tanya on January 21, 2022
I want to change my label font size and text but don't know how. This is the code I have for one of my labels. I want it to be 16 font and kanit font
<p class="wp-block-tag-cloud wp-block-tag-cloud">
<a href="https://fablemoonsays.com/tag/books/" class="tag-cloud-link tag-link-79 tag-link-position-1" style="font-size: 12pt; aria
label Books (1 item)"> ==
Hi there,
you would use some CSS eg.
.wp-block-tag-cloud a {
font-size: 20px !important;
font-family: Your font name;
}
Note the Tag Cloud sets the individual font size of each tag based on the weight of the tag, the more weight the larger its size so the CSS above has !important to force them all to one size.
That did not change anything. I did it in the customize, additional css.
Hi there,
Any chance you can link us to the page in question where I can see the label?
You can use the private information field.
https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
Let me know :)
Yes it is Fablemoonsays.com
Hi Tanya,
I'm not seeing David's CSS has been added to your site, the only CSS in the customizer > additional CSS is this:
https://www.screencast.com/t/aymjp95RJm
Can you check?
It is in there now
Can you make sure the CSS i provided is an exact copy in the Additional CSS. I see the code on your site is missing a .
Oh how embarrassing. I must of messed it up the first time also. It works now. Thank you
Oh it is very easily done. I have lost hair over a simple full stop or semi-colon :)
Glad to be of help.