Max Mega Menu Support
-
Hi there,
Nice theme ??
I’m the developer of Max Mega Menu. When it’s enabled for the main menu, the ID on the
<div>
that wraps the menu is changed from ‘menu’ to ‘mega-menu-wrap-custom_menu’.This is causing a JavaScript error when ddsmoothmenu is initialised, and in turn it stops the max mega menu mobile menu from functioning.
I was wondering if you could make a change in the custom.js file to fix this:
From:
//Menu Init ddsmoothmenu.init({ mainmenuid: "menu", //menu DIV id orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v" classname: 'ddsmoothmenu', //class added to menu's outer DIV //customtheme: ["#1c5a80", "#18374a"], contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"] });
To:
if ( $('#menu').length ) { //Menu Init ddsmoothmenu.init({ mainmenuid: "menu", //menu DIV id orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v" classname: 'ddsmoothmenu', //class added to menu's outer DIV //customtheme: ["#1c5a80", "#18374a"], contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"] }); }
?
Regards,
Tom
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Max Mega Menu Support’ is closed to new replies.