customize tag cloud widget with custom css?

  • Unknown's avatar

    hey,
    short question: is it possible to change the font-style and the font-color of the tags in my textcloud via custom css?
    http://dailyimpulse.wordpress.com/

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

  • Unknown's avatar

    You would want to declare a different font in this section of the CSS

    .wp_widget_tag_cloud div, .widget_tag_cloud div {
    line-height: 1.7em;
    padding: 0.2em 0;
    }

    For color change, add this to your CSS and put in your desired hex color code

    .wp_widget_tag_cloud div {
    color:#FF0000;
    }
  • Unknown's avatar

    thanks, first part works, but the color doesn’t change. any idea why? and how about the maximum/minimum font size – can i set it too?

  • Unknown's avatar

    Shoot I’m sorry, I copied in the wrong thing.

    .wp_widget_tag_cloud div a {
    color: #FF0000;
    }

    This theme seems to set the font sizes in the underlying PHP files and I can’t figure out how to change the minimum and maximums. It seems to dynamically create unique classes for the individual tags and then declares the font sizes right within the link code for each individual tag.

    Hallluke might have an idea on that. He has far more CSS experience than I do.

  • Unknown's avatar

    I think you’re stuck with the default minimum and maximum font sizes, I can’t see a way around this apart from modifying the links individually which defies the whole point of having it done automatically.

  • The topic ‘customize tag cloud widget with custom css?’ is closed to new replies.