Skip to content

Instantly share code, notes, and snippets.

@marisqaporter
Last active August 29, 2015 14:19
Show Gist options
  • Save marisqaporter/ab84d99091940c89eea7 to your computer and use it in GitHub Desktop.
Save marisqaporter/ab84d99091940c89eea7 to your computer and use it in GitHub Desktop.
add an inner div to breadcrumb for styling and width control
/*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