Ronneby
Step 1
Ronneby runs it’s own JavaScript on the main menu, even with MMM enabled.
To prevent this from happening, copy the templates/header/block-main_menu.php file to your child theme. Make sure you keep the directory structure intact:
Find:
1 2 3 4 5 6 7 8 9 10 11 |
<nav class="mega-menu clearfix <?php echo esc_attr($menu_class); ?>" id="main_mega_menu"> <?php wp_nav_menu(array( 'theme_location' => 'primary_navigation', 'menu_class' => 'nav-menu menu-primary-navigation menu-clonable-for-mobiles', 'fallback_cb' => 'top_menu_fallback' )); ?> <i class="carousel-nav prev dfd-icon-left_2"></i> <i class="carousel-nav next dfd-icon-right_2"></i> </nav> |
1 2 3 4 5 6 7 8 9 |
<nav class="clearfix <?php echo esc_attr($menu_class); ?>"> <?php wp_nav_menu(array( 'theme_location' => 'primary_navigation', 'menu_class' => 'nav-menu menu-primary-navigation menu-clonable-for-mobiles', 'fallback_cb' => 'top_menu_fallback' )); ?> </nav> |
Step 2
The menu will disappear at certain breakpoints. To fix this go to Mega Menu > Menu Themes > Custom Styling and add the following:
1 2 3 |
.header-col-fluid { display: block !important; } |