Site logo

Archived topic

Changing Footer Widget Width

1 reply · Started by Oisin on May 16, 2020

Viewing posts 1–2 of 2

Hi Guys,

I'd like to change the width of my footer widgets to 34, 22, 22, 22 which I'm trying to achieve with the following filter:

add_filter( 'generate_footer_widget_1_width', function() {
    return '34';
} );
add_filter( 'generate_footer_widget_2_width', function() {
    return '22';
} );
add_filter( 'generate_footer_widget_3_width', function() {
    return '22';
} );
add_filter( 'generate_footer_widget_4_width', function() {
    return '22';
} );

However, when I add this this filter all widgets runs one under the other vertically? Is there something else I need to add?

Thanks,

Oisín.

Hi there,

The numbers can only be an increment of 5.

Let me know if this helps :)

This archived topic is closed to new replies.