mirror of
https://ghproxy.net/https://github.com/AlxMedia/curver.git
synced 2025-08-28 04:06:16 +08:00
#wrap-nav id rename
This commit is contained in:
parent
15a90daccd
commit
85f387be2b
2 changed files with 6 additions and 6 deletions
|
@ -54,7 +54,7 @@
|
||||||
<div id="header-middle" class="container-inner">
|
<div id="header-middle" class="container-inner">
|
||||||
|
|
||||||
<?php if ( has_nav_menu('mobile') ): ?>
|
<?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 \AlxMedia\Nav::nav_menu(array('theme_location'=>'mobile','menu_id' => 'nav-mobile','fallback_cb'=> false)); ?>
|
||||||
|
|
||||||
<?php if ( get_theme_mod( 'header-search', 'on' ) == 'on' ): ?>
|
<?php if ( get_theme_mod( 'header-search', 'on' ) == 'on' ): ?>
|
||||||
|
@ -72,7 +72,7 @@
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php if ( has_nav_menu('header') ): ?>
|
<?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 \AlxMedia\Nav::nav_menu(array('theme_location'=>'header','menu_id' => 'nav-header','fallback_cb'=> false)); ?>
|
||||||
|
|
||||||
<?php if ( get_theme_mod( 'header-search', 'on' ) == 'on' ): ?>
|
<?php if ( get_theme_mod( 'header-search', 'on' ) == 'on' ): ?>
|
||||||
|
|
|
@ -546,14 +546,14 @@ background-image: linear-gradient(to top left,#ff8a00,#da1b60); }
|
||||||
.toggle-search.active #svg-search { display: none; }
|
.toggle-search.active #svg-search { display: none; }
|
||||||
.toggle-search.active #svg-close { display: block; }
|
.toggle-search.active #svg-close { display: block; }
|
||||||
|
|
||||||
#header-menu-header,
|
#wrap-nav-header,
|
||||||
#header-menu-mobile { position: relative; }
|
#wrap-nav-mobile { position: relative; }
|
||||||
|
|
||||||
@media only screen and (min-width: 720px) {
|
@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) {
|
@media only screen and (max-width: 719px) {
|
||||||
.mobile-menu #header-menu-header { display: none; }
|
.mobile-menu #wrap-nav-header { display: none; }
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ------------------------------------------------------------------------- *
|
/* ------------------------------------------------------------------------- *
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue