FlexSqueezeII
Fix Mobile Menu
Step 1
Copy the header.php file to your Child Theme.
Find:
1 |
get_template_part( 'includes/nav.inc'); |
Replace with:
1 2 3 4 5 |
if ( function_exists('max_mega_menu_is_enabled') && max_mega_menu_is_enabled('primary-menu') ) { wp_nav_menu(array('theme_location' => 'primary-menu')); } else { get_template_part( 'includes/nav.inc'); } |
Step 2
Go to Mega Menu > Menu Themes > Custom Styling and paste in the following:
1 2 3 4 5 6 |
@include desktop { #{$wrap} #{$menu} { max-width: 960px; margin: 0 auto; } } |