Stylic
Remove Residual Styling
Copy the header.php file to your Child Theme.
Find:
1 2 3 4 5 6 7 8 9 10 11 12 |
<!-- Menu start --> <div class="mob_nav header-list-item"> <div id="cssmenu"> <?php $stylic_defaults = array( 'theme_location' => 'primary', 'container' => 'ul', 'items_wrap' => '<ul class="mobilemenu">%3$s</ul>', ); wp_nav_menu($stylic_defaults); ?> </div> </div> <!-- Menu end --> |
Replace with:
1 2 3 4 5 6 7 8 |
<!-- Menu start --> <div class="nav"> <!-- avoid JS error --> <div id='cssmenu' style='display: none;'><ul><li></li></ul></div> <!-- output the menu --> <?php wp_nav_menu(array('theme_location' => 'primary')); ?> </div> <!-- Menu end --> |