WordPress.org

Ready to get started?Download WordPress

Forums

Tag cloud not wrapping text to conform to sidebar width! (4 posts)

  1. Seanmyr
    Member
    Posted 6 years ago #

    I help maintain quite a few blogs. Well, on several of these blogs (each using a different theme) some of the tags in the tag cloud have tags in a fairly large font. This results in those particular tags running past the edge of the sidebar.

    I've tried a lot of different css code to make the tags conform to the sidebar width but nothing seems to work. Does anybody know of a way to fix this?

    On themes where the sidebar is on the right side it's not too big of a deal but when it's on the left these tags run over onto the actual posts making the posts hard to read.

    Any help would be greatly appreciated. Thanks.

  2. mpm
    Member
    Posted 6 years ago #

    I'm having trouble with this as well.

    Any pointers to the relevant topic with the solution would be received with much gratitude!

  3. educationthemes
    Member
    Posted 6 years ago #

    Take a look here:

    http://codex.wordpress.org/Template_Tags/wp_tag_cloud

    You can set the smallest and largest font to use.

  4. syrupcore
    Member
    Posted 6 years ago #

    part of the problem is that links don't wrap. does the tag cloud's containing element have a declared width? that might help. you can also add overflow:hidden to the containing element. It will cut off the rogue tags but, well, they're cut off.

Topic Closed

This topic has been closed to new replies.

About this Topic