Medactive
Mega Menu does not display
Medactive and Max Mega Menu conflict because they both use a ‘mega-menu’ class. The ‘mega-menu’ class can be safely removed from Max Mega Menu by adding the following to your child themes functions.php file:
1 2 3 4 5 6 7 |
function megamenu_remove_mega_menu_class( $defaults, $menu_id, $current_theme_location ) { $menu_class = $defaults['menu_class']; $menu_class = str_replace("mega-menu max-mega-menu", "max-mega-menu", $menu_class); $defaults['menu_class'] = $menu_class; return $defaults; } add_filter( "megamenu_nav_menu_args", "megamenu_remove_mega_menu_class", 10, 3 ); |