mirror of
https://github.com/woocommerce/storefront.git
synced 2025-08-20 04:00:29 +08:00
Remove header container and add it back as an action; Move primary navigation outside the header container
This commit is contained in:
parent
c254a57c01
commit
c80b57cae6
4 changed files with 40 additions and 24 deletions
|
@ -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>';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue