Any fixes for WordPress #192

Speceus opened this Issue Jan 22, 2016 · 3 comments


None yet

3 participants

Speceus commented Jan 22, 2016

WordPress adds a div around the list items and I think that confuses the js.

Any way to make this work?


I use Responsive Nav in several WordPress Themes but haven't noticed any problems. Can you link to your site or describe to problems you have.

Speceus commented Jan 22, 2016

Well everything is the same as on our non-wp site, except the html have the wp menu instead of just a ul.

"primary" );?>

What else should I change from a standard site to a wp site?
The js loads just fine and seems to be working, it's just not showing the .nav-collapse and we suspect it's because of the div wp puts around the ul...


You should remove the div container that WordPress creates by setting container to false.

<?php wp_nav_menu( array( 'container' => false ) ); ?>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment