Reply To: ''Adding a menu toggle button on small screens'' in WordPress

Home Forums Older releases 1.0.x ''Adding a menu toggle button on small screens'' in WordPress Reply To: ''Adding a menu toggle button on small screens'' in WordPress

#3054
admin
Keymaster

Please also pass the 'container' => 'false' parameter and it should work – e.g.:

<?php wp_nav_menu( array( 'theme_location' => 'primary', 'container' => 'false', 'menu_id' => 'main-menu', 'menu_class' => 'sm sm-mint' ) ); ?>

Register

You will be emailed a link to set your password.

Login

Lost password?