[resolved] How to change Tag Cloud font size in twenty twelve theme? (3 posts)

  1. manishkumarruhil
    Posted 2 years ago #

    I am trying to figure out how to change tag cloud font size in twenty twelve theme but have not succeeded yet.

    I am using basic wordpress editor and have tried using firebug.

    Any help would be appreciable.


  2. Michael
    Part-Time Forum Moderator
    Posted 2 years ago #

    when you are using the tag cloud widget, this is independant of the theme, and can be set via a filter function added to functions.php of your currently used theme;

    function set_tag_cloud_sizes($args) {
    $args['smallest'] = 12;
    $args['largest'] = 19;
    return $args; }

    all possible parameters: http://codex.wordpress.org/Function_Reference/wp_tag_cloud

  3. manishkumarruhil
    Posted 2 years ago #

    Thanks you very much. It worked :-)

    I am having some trouble with it and crashed website few times(which could be because I have never done any .php work). But I am reading through link that you provided for now and will post if still feel need for help.

    Thanks Again!

Topic Closed

This topic has been closed to new replies.

About this Topic