wrap-nav id and wrap-nav class for all menus

This commit is contained in:
Alexander Agnarson 2020-08-24 13:02:36 +02:00
parent 85f387be2b
commit ee0197a706
4 changed files with 11 additions and 7 deletions

View file

@ -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' ): ?>