Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Electro - Make footer widget full width
add_filter( 'electro_register_footer_widgets_args', 'ec_child_modify_footer_widgets_args' );
function ec_child_modify_footer_widgets_args( $args ) {
$args[ 'before_widget' ] = '<div class="col-xs-12"><aside id="%1$s" class="widget clearfix %2$s"><div class="body">';
return $args;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment