Swell
Fix mobile menu and residual styling
Step 1
Go to Appearance > Customize > Additional CSS and paste in the following:
1 2 3 4 5 6 7 |
@media only screen and (min-width: 700px) { #main-nav-mega { right: 0; position: absolute; margin-top: -6px; } } |
Step 2
Copy the theme header.php file to your Child Theme.
Find:
1 2 3 4 5 6 7 8 9 10 11 12 |
<div id="main-nav" class=""> <?php wp_nav_menu( array( 'container' => 'nav', 'container_id' => 'main-menu', 'menu_class' => 'sf-menu clear', 'theme_location' => 'primary', 'fallback_cb' => 'main_nav' ) ); ?> </div> <a href="#main-menu" id="menu-toggle"></a> |
Replace with:
1 2 3 4 5 6 7 8 9 10 11 |
<div id="main-nav-mega" class=""> <?php wp_nav_menu( array( 'container' => 'nav', 'container_id' => 'main-menu', 'menu_class' => 'sf-menu clear', 'theme_location' => 'primary', 'fallback_cb' => 'main_nav' ) ); ?> </div> |