#wrap-nav id rename

This commit is contained in:
Alexander Agnarson 2020-08-23 11:38:14 +02:00
parent 15a90daccd
commit 85f387be2b
2 changed files with 6 additions and 6 deletions

View file

@ -54,7 +54,7 @@
<div id="header-middle" class="container-inner">
<?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' ): ?>
@ -72,7 +72,7 @@
<?php endif; ?>
<?php if ( has_nav_menu('header') ): ?>
<div id="header-menu-header">
<div id="wrap-nav-header">
<?php \AlxMedia\Nav::nav_menu(array('theme_location'=>'header','menu_id' => 'nav-header','fallback_cb'=> false)); ?>
<?php if ( get_theme_mod( 'header-search', 'on' ) == 'on' ): ?>

View file

@ -546,14 +546,14 @@ background-image: linear-gradient(to top left,#ff8a00,#da1b60); }
.toggle-search.active #svg-search { display: none; }
.toggle-search.active #svg-close { display: block; }
#header-menu-header,
#header-menu-mobile { position: relative; }
#wrap-nav-header,
#wrap-nav-mobile { position: relative; }
@media only screen and (min-width: 720px) {
.mobile-menu #header-menu-mobile { display: none; }
.mobile-menu #wrap-nav-mobile { display: none; }
}
@media only screen and (max-width: 719px) {
.mobile-menu #header-menu-header { display: none; }
.mobile-menu #wrap-nav-header { display: none; }
}
/* ------------------------------------------------------------------------- *