MedicalLink
MedicalLink uses JavaScript to dynamically create the mobile menu. This functionality does not work correctly when Max Mega Menu has been enabled for the main menu. To fix the mobile menu:
Step 1
Under Appearance > Editor, select ‘header.php’ on the right.
Find (line ~376):
1 |
<nav class="navbar-collapse collapse" id="pm-main-navigation"> |
Replace with:
1 |
<nav class="navbar-collapse collapse"> |
(this change will stop MedicalLink from dynamically creating a mobile menu)
Find (line ~97):
1 |
<?php if($enableMicroMenu === 'on') : ?> |
Replace with:
1 2 3 4 5 |
<div class="hidden-sm hidden-md hidden-lg"> <?php wp_nav_menu(array( 'theme_location' => 'main_menu') ); ?> </div> <?php if($enableMicroMenu === 'on') : ?> |
(this change will output a static copy of the main menu – to be displayed only on mobiles)
Step 2
UnderĀ Mega Menu > Menu ThemesĀ set the Responsive Breakpoint to 991px.