Skip to content

Instantly share code, notes, and snippets.

@ibndawood
Created December 14, 2016 14:24
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ibndawood/2fe103d20df5c5c2f7b63ab6f80d4f02 to your computer and use it in GitHub Desktop.
Save ibndawood/2fe103d20df5c5c2f7b63ab6f80d4f02 to your computer and use it in GitHub Desktop.
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