#wrap-nav id rename

This commit is contained in:
Alexander Agnarson 2020-08-23 11:39:02 +02:00
parent d721522fa3
commit 90f98f8744
3 changed files with 8 additions and 8 deletions

View file

@ -51,7 +51,7 @@
<div class="container" id="footer-bottom">
<?php if ( has_nav_menu('footer') ): ?>
<div id="footer-menu-footer" class="container-inner">
<div id="wrap-nav-footer" class="container-inner">
<?php \AlxMedia\Nav::nav_menu(array('theme_location'=>'footer','menu_id' => 'nav-footer','fallback_cb'=> false)); ?>
</div>
<?php endif; ?>

View file

@ -21,7 +21,7 @@
<header id="header">
<?php if ( has_nav_menu('mobile') ): ?>
<div id="header-menu-mobile">
<div id="wrap-nav-mobile">
<?php \AlxMedia\Nav::nav_menu(array('theme_location'=>'mobile','menu_id' => 'nav-mobile','fallback_cb'=> false)); ?>
<?php if ( get_theme_mod( 'header-search', 'on' ) == 'on' ): ?>
@ -41,7 +41,7 @@
<?php endif; ?>
<?php if ( has_nav_menu('topbar') ): ?>
<div id="header-menu-topbar">
<div id="wrap-nav-topbar">
<?php \AlxMedia\Nav::nav_menu(array('theme_location'=>'topbar','menu_id' => 'nav-topbar','fallback_cb'=> false)); ?>
<?php if ( get_theme_mod( 'topbar-search', 'on' ) == 'on' ): ?>

View file

@ -578,8 +578,8 @@ box-shadow: 0 0 2px rgba(255,255,255,0.4);
@media only screen and (min-width: 1025px) {
/* fixed nav */
.full-width.topbar-enabled #header { padding-top: 50px; }
.full-width #header-menu-topbar { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 999; }
.full-width.admin-bar #header-menu-topbar { top: 32px; }
.full-width #wrap-nav-topbar { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 999; }
.full-width.admin-bar #wrap-nav-topbar { top: 32px; }
}
/* menu base */
@ -691,8 +691,8 @@ box-shadow: 0 0 2px rgba(255,255,255,0.4);
.nav-menu.mobile ul ul button { border-left: 1px solid rgba(0,0,0,0.07); }
/* menu header styling */
#header-menu-topbar,
#header-menu-mobile { background: #fff; box-shadow: 0 1px rgba(0,0,0,0.1), 0 3px 3px rgba(0,0,0,0.04); position: relative; z-index: 3; border-top: 3px solid #444; }
#wrap-nav-topbar,
#wrap-nav-mobile { background: #fff; box-shadow: 0 1px rgba(0,0,0,0.1), 0 3px 3px rgba(0,0,0,0.04); position: relative; z-index: 3; border-top: 3px solid #444; }
#header .nav-menu:not(.mobile) > div { padding: 0 20px; }
#header .nav-menu:not(.mobile) { max-width: 1160px; margin: 0 auto; padding-top: 0; padding-bottom: 0; }
#header .nav-menu:not(.mobile) .menu > li { margin-top: -3px; border-left: 1px solid rgba(0,0,0,0.05); }
@ -723,7 +723,7 @@ box-shadow: 0 0 2px rgba(255,255,255,0.4);
#header .nav-menu.mobile { position: relative; z-index: 3; }
/* menu footer styling */
#footer-menu-footer { border-bottom: 0!important; }
#wrap-nav-footer { border-bottom: 0!important; }
#footer .menu-toggle-icon span { background: #333; }
#footer .nav-menu a { font-weight: 600; }