Last active
August 29, 2015 14:19
-
-
Save marisqaporter/ab84d99091940c89eea7 to your computer and use it in GitHub Desktop.
add an inner div to breadcrumb for styling and width control
This file contains hidden or 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 an inner div to breadcrumb for styling and width control*/ | |
add_filter( 'genesis_breadcrumb_args', 'child_theme_breadcrumb_modifications' ); | |
function child_theme_breadcrumb_modifications( $args ) { | |
$args['prefix'] = '<div class="breadcrumb"><div class="inner">'; | |
$args['suffix'] = '</div></div>'; | |
return $args; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment