Fix Mobile Menu If you have Max Mega Menu enabled for the mobile location, you’ll find clicking on parent item links prematurely closes the mobile slideout panel. To fix this, add the following to your child themes functions.php file:
1
2
3
4
5
6
7
8
9
/** Add 'toggle-caret' class to all menu item links to prevent the theme from closing the mobile menu whenever a link is clicked **/
The mobile menu The built in Kalium mobile menu overrides certain functionality of Max Mega Menu, therefore it is not possible to use Max Mega Menu for your mobile menu. This is possible by ensuring Max Mega Menu remains disabled for the mobile location: Under Mega Menu > Menu Themes…
YooTheme3 In this example we will replace the theme “Navbar” menu location with Max Mega Menu. To display Max Mega Menu in YooTheme3, first go to Mega Menu > Menu Locations and create a new Menu Location. Name the location “Max Mega Menu Navbar”. Next go to Appearance > Menus….
By default, when the page background is clicked, any open sub menus will be automatically closed. To prevent this behaviour (and keep sub menus open), add the following to your themes functions.php file:
When using AdForest you will find that Max Mega Menu is not correctly applied to the menu. To allow Max Mega Menu to work correctly, copy the
template-parts/layouts/main-nav.php file (keeping the directory structure intact) to your Child Theme, and replace the contents of that file with:
Fix Mobile Menu To hide the default mobile menu, and show the Max Mega Menu mobile menu instead, go to Mega Menu > Menu Themes > Mobile Menu and set the Responsive Breakpoint to 992px. Next, go to Mega Menu > Menu Themes > Custom Styling and add the following:…
Fix Mobile Menu To hide the default ListingPro mobile menu, and show the Max Mega Menu mobile menu instead, go to Mega Menu > Menu Themes > Mobile Menu and set the Responsive Breakpoint to 980px. Next, go to Mega Menu > Menu Themes > Custom Styling and add the…
Theme Setup Make sure the Extended Menu in the theme settings is set to ‘Choose menu’: Fix Icon Styling Go to Mega Menu > Menu Themes > Custom Styling and add the following: