Reply To: footer alignment

Home Forums Support footer alignment Reply To: footer alignment

#180818
Tom
Lead Developer
Lead Developer

You’ll want to set the tablet widths as well, for example: generate_footer_widget_1_tablet_width

So your code would be:

add_filter( 'generate_footer_widget_1_width','generate_custom_footer_widget_1_width' );
add_filter( 'generate_footer_widget_1_tablet_width','generate_custom_footer_widget_1_width' );
function generate_custom_footer_widget_1_width()
{
     
      return '35';
}

add_filter( 'generate_footer_widget_2_width','generate_custom_footer_widget_2_width' );
add_filter( 'generate_footer_widget_2_tablet_width','generate_custom_footer_widget_2_width' );
function generate_custom_footer_widget_2_width()
{
      
      return '45';
}

add_filter( 'generate_footer_widget_3_width','generate_custom_footer_widget_3_width' );
add_filter( 'generate_footer_widget_3_tablet_width','generate_custom_footer_widget_3_width' );
function generate_custom_footer_widget_3_width()
{
  
      return '20';
}

Hope this helps 🙂