Skip to content

Instantly share code, notes, and snippets.

@cobaltapps
Last active March 7, 2019 02:36
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save cobaltapps/6147415 to your computer and use it in GitHub Desktop.
Save cobaltapps/6147415 to your computer and use it in GitHub Desktop.
Making your Genesis Header Fluid by "breaking it out" of your main site container.
/* Fluid Header */
remove_action( 'genesis_header', 'genesis_header_markup_open', 5 );
remove_action( 'genesis_header', 'genesis_do_header' );
remove_action( 'genesis_header', 'genesis_header_markup_close', 15 );
add_action( 'genesis_before', 'genesis_header_markup_open' );
add_action( 'genesis_before', 'genesis_do_header' );
add_action( 'genesis_before', 'genesis_header_markup_close' );
/* end Fluid Header */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment