Created
December 14, 2016 14:24
-
-
Save ibndawood/2fe103d20df5c5c2f7b63ab6f80d4f02 to your computer and use it in GitHub Desktop.
Electro - Make footer widget full width
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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