WordPress.org

Support

Support » Themes and Templates » [Resolved] How to change Tag Cloud font size in twenty twelve theme?

[Resolved] How to change Tag Cloud font size in twenty twelve theme?

  • Bush

    @manishkumarruhil

    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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Michael

    @alchymyth

    Forum Moderator

    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

    Bush

    @manishkumarruhil

    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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] How to change Tag Cloud font size in twenty twelve theme?’ is closed to new replies.
Skip to toolbar