mirror of
https://ghproxy.net/https://github.com/AlxMedia/curver.git
synced 2025-08-28 06:37:49 +08:00
wrap-nav id and wrap-nav class for all menus
This commit is contained in:
parent
85f387be2b
commit
ee0197a706
4 changed files with 11 additions and 7 deletions
|
@ -47,7 +47,9 @@
|
|||
<?php } ?>
|
||||
|
||||
<?php if ( has_nav_menu('footer') ): ?>
|
||||
<div id="wrap-nav-footer" class="wrap-nav">
|
||||
<?php \AlxMedia\Nav::nav_menu(array('theme_location'=>'footer','menu_id' => 'nav-footer','fallback_cb'=> false)); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<div id="footer-bottom">
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
<div id="header-middle" class="container-inner">
|
||||
|
||||
<?php if ( has_nav_menu('mobile') ): ?>
|
||||
<div id="wrap-nav-mobile">
|
||||
<div id="wrap-nav-mobile" class="wrap-nav">
|
||||
<?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="wrap-nav-header">
|
||||
<div id="wrap-nav-header" class="wrap-nav">
|
||||
<?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' ): ?>
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
Contributors: alxmedia
|
||||
Requires at least: 5.0
|
||||
Tested up to: 5.5
|
||||
Version: 1.1.6
|
||||
License: GPLv3
|
||||
License URI: http://www.gnu.org/licenses/gpl-3.0
|
||||
Tags: blog, one-column, two-columns, right-sidebar, custom-colors, custom-menu, featured-images, flexible-header, full-width-template, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, custom-logo, custom-header, custom-background
|
||||
|
@ -79,6 +78,9 @@ Sidebar images
|
|||
|
||||
== Changelog ==
|
||||
|
||||
= 1.1.7 - 2020-08-24 =
|
||||
* Fixed markup of header and footer menus
|
||||
|
||||
= 1.1.6 - 2020-08-18 =
|
||||
* Fixed header search button outline in Chrome
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
Theme Name: Curver
|
||||
Theme URI: http://alx.media/themes/curver/
|
||||
Version: 1.1.6
|
||||
Version: 1.1.7
|
||||
Requires at least: 5.0
|
||||
Requires PHP: 5.6
|
||||
Tested up to: 5.5
|
||||
|
@ -572,10 +572,10 @@ background-image: linear-gradient(to top left,#ff8a00,#da1b60); }
|
|||
|
||||
/* menu hide and display */
|
||||
@media only screen and (min-width: 720px) {
|
||||
.mobile-menu #nav-mobile-nav { display: none; }
|
||||
.mobile-menu #wrap-nav-mobile { display: none; }
|
||||
}
|
||||
@media only screen and (max-width: 719px) {
|
||||
.mobile-menu #nav-header-nav { display: none; }
|
||||
.mobile-menu #wrap-nav-header { display: none; }
|
||||
#nav-mobile,
|
||||
#nav-header,
|
||||
#nav-footer { display: none; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue