Font size in Tag Cloud

Support Area Forums United Font size in Tag Cloud

This topic contains 3 replies, has 2 voices, and was last updated by  Bill Robbins 2 years, 10 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
URL to the page in question: http://
  • Author
    Posts
  • #23981

    Steve Fronek
    Participant

    Hi Bill, how can I control the font size for the tag cloud in your United Theme? I know it varies depending on the number of post to each tag, but I want to reduce the variation in size a little.
    Thanks.

    #23983

    Bill Robbins
    Keymaster

    Hello Steve,

    I believe to change those, it’s suggested to use a WordPress filter. Here’s what to do:

    1. Go to the Appearance section in your WordPress dashboard and choose Edit.
    2. From the list of files on your right, choose functions.php
    3. Scroll down to the very bottom and add this:


      (be sure to copy that code directly from the support site and not the notification email).

    4. In the snippet above, the 18 is the largest size used (in pixels) and the 9 is the smallest. You can change those to fit your needs.
    5. Save your changes.

    Hopefully that will get you where you’d like to go. Let me know if you run into trouble.

    Have a great week,
    Bill

    #23985

    Steve Fronek
    Participant

    Perfect! Thanks for the fast reply.

    #23986

    Bill Robbins
    Keymaster

    Glad to hear that worked for you. Let me know if you need anything else.

    Take care,
    Bill

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Font size in Tag Cloud’ is closed to new replies.