Rowling
Fix mobile menu and residual styling
Copy the theme header.php file to your Child Theme.
FindĀ and delete (line ~128):
1 2 3 4 5 6 7 8 9 |
<div class="nav-toggle"> <div class="bars"> <div class="bar"></div> <div class="bar"></div> <div class="bar"></div> </div> </div> <!-- /nav-toggle --> |
Find (line ~126):
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
<ul class="primary-menu"> <?php if ( has_nav_menu( 'primary' ) ) { wp_nav_menu( array( 'container' => '', 'items_wrap' => '%3$s', 'theme_location' => 'primary' ) ); } else { wp_list_pages( array( 'container' => '', 'title_li' => '' )); } ?> </ul> |
Replace with:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
<?php if ( has_nav_menu( 'primary' ) ) { wp_nav_menu( array( 'container' => '', 'items_wrap' => '%3$s', 'theme_location' => 'primary' ) ); } else { wp_list_pages( array( 'container' => '', 'title_li' => '' )); } ?> |