Support » Plugin: Events Manager » Tag Cloud text too small

  • Resolved Tiago “3ple”

    (@iam3ple)


    Hi,

    As you can see on my website http://www.events.wavebix.com/ the text on the sidebar where I have Popular Genres is too small. This is the Tag Cloud widget.

    Anyway I can change the size of the text to match the other widgets?

    Thanks! 🙂

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • UPDATE: I was able to change the font-family, but the size is not changing, regardless of the value or even the format (px, iem, %)

    Here’s my code:

    div.tagcloud {
    	font-family: Gill Sans, Helvetica, Arial, sans-serif;
    	font-size: 70px;
    }

    I used without “div.”, same results

    Update: found the answer!

    Placed the following code inside my functions.php file:

    // Tag Cloud Font Size
    add_filter( 'widget_tag_cloud_args', 'change_tag_cloud_font_sizes');
    /**
     * Change the Tag Cloud's Font Sizes.
     *
     * @since 1.0.0
     *
     * @param array $args
     *
     * @return array
     */
    function change_tag_cloud_font_sizes( array $args ) {
        $args['smallest'] = '11';
        $args['largest'] = '15';
    
        return $args;
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.