WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. manishkumarruhil
    Member
    Posted 1 year 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.

    Thanks!

  2. alchymyth
    The Sweeper & Moderator
    Posted 1 year 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;

    add_filter('widget_tag_cloud_args','set_tag_cloud_sizes');
    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
    Member
    Posted 1 year 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