Remove header container and add it back as an action; Move primary navigation outside the header container

This commit is contained in:
Tiago Noronha 2018-04-13 16:48:52 +01:00
parent c254a57c01
commit c80b57cae6
4 changed files with 40 additions and 24 deletions

View file

@ -902,7 +902,7 @@ if ( ! function_exists( 'storefront_primary_navigation_wrapper' ) ) {
* The primary navigation wrapper
*/
function storefront_primary_navigation_wrapper() {
echo '<div class="storefront-primary-navigation">';
echo '<div class="storefront-primary-navigation"><div class="col-full">';
}
}
@ -911,6 +911,24 @@ if ( ! function_exists( 'storefront_primary_navigation_wrapper_close' ) ) {
* The primary navigation wrapper close
*/
function storefront_primary_navigation_wrapper_close() {
echo '</div></div>';
}
}
if ( ! function_exists( 'storefront_header_container' ) ) {
/**
* The header container
*/
function storefront_header_container() {
echo '<div class="col-full">';
}
}
if ( ! function_exists( 'storefront_header_container_close' ) ) {
/**
* The header container close
*/
function storefront_header_container_close() {
echo '</div>';
}
}