Fix the menu toggle on mobile of Menu Below Header
This commit is contained in:
parent
22dc3fa59e
commit
3e85a33c40
|
@ -8,6 +8,11 @@
|
||||||
<?php if(has_nav_menu('navMenubelowHeader')) : ?>
|
<?php if(has_nav_menu('navMenubelowHeader')) : ?>
|
||||||
<nav class="navbar navbar-expand-md navbar-light bg-white px-0 border-bottom menu-belowheader" role="navigation">
|
<nav class="navbar navbar-expand-md navbar-light bg-white px-0 border-bottom menu-belowheader" role="navigation">
|
||||||
<div class="container-fluid max-large px-0 margin-one-column">
|
<div class="container-fluid max-large px-0 margin-one-column">
|
||||||
|
<!-- Brand and toggle get grouped for better mobile display -->
|
||||||
|
<a class="navbar-brand d-md-none" href="#"></a>
|
||||||
|
<button class="navbar-toggler text-heavy-metal border-0 px-2 pt-2" type="button" data-toggle="collapse" data-target="#menubelowHeader" aria-controls="menubelowHeader" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
<span class="navbar-toggler-icon"></span>
|
||||||
|
</button>
|
||||||
<?php /* if(wp_is_mobile()) echo $bread; */ ?>
|
<?php /* if(wp_is_mobile()) echo $bread; */ ?>
|
||||||
<?php
|
<?php
|
||||||
wp_nav_menu( array(
|
wp_nav_menu( array(
|
||||||
|
|
Loading…
Reference in New Issue