[Resolved] Label widget change font size and font

Home Forums Support [Resolved] Label widget change font size and font

Home Forums Support Label widget change font size and font

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #2089216
    tanya

    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/&#8221; class=”tag-cloud-link tag-link-79 tag-link-position-1″ style=”font-size: 12pt; aria
    label Books (1 item)”> ==

    #2089526
    David
    Staff
    Customer Support

    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.

    #2090076
    tanya

    That did not change anything. I did it in the customize, additional css.

    #2090103
    Ying
    Staff
    Customer Support

    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 ๐Ÿ™‚

    #2090204
    tanya

    Yes it is Fablemoonsays.com

    #2090210
    Ying
    Staff
    Customer Support

    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?

    #2090283
    tanya

    It is in there now

    #2090499
    David
    Staff
    Customer Support

    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 .

    #2091014
    tanya

    Oh how embarrassing. I must of messed it up the first time also. It works now. Thank you

    #2091519
    David
    Staff
    Customer Support

    Oh it is very easily done. I have lost hair over a simple full stop or semi-colon ๐Ÿ™‚

    Glad to be of help.

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.