Change tag cloud widget to all same size words

  • Unknown's avatar

    Hi, I know this may be pretty easy to do, but I have searched for a while but haven’t gotten a clear answer. I am using the “tag cloud” widget on the Stay theme. There is no other tag widget available with the theme, and I would like all of the tags to remain the same size. What CSS would I need to use to force the words to remain the same size regardless of usage?

    Thanks!

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Add this code to the CSS section of the customiser:

    aside.wp_widget_tag_cloud a {
      font-size: 1.1em!important;
      padding-right: 0.3em;
    }

    You can change the font size value to whatever you think looks best, I’ve also included a rule to bump up the spacing between the tags as it can be hard to tell where one ends and another begins when they’re all the same size.

    And a quick tip for next time: if you have other CSS questions it’s best to post them in the CSS customisation forum where it’s more likely to get noticed by people who can help.

  • The topic ‘Change tag cloud widget to all same size words’ is closed to new replies.