Skip to Content
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
Please also pass the 'container' => 'false' parameter and it should work – e.g.:
'container' => 'false'
<?php wp_nav_menu( array( 'theme_location' => 'primary', 'container' => 'false', 'menu_id' => 'main-menu', 'menu_class' => 'sm sm-mint' ) ); ?>
Username (required)
E-mail (required)
Enter the acronym for JavaScript? (required)
You will be emailed a link to set your password.
Username or Email Address
Password
Remember Me
Lost password?