Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress From Bootstrap to WordPress Setup a Bootstrap Theme Adding Ability for Dropdown Navigation

in responsive the menu does not working :(

2 Answers

Edwin Goddard
Edwin Goddard
8,988 Points

Joni,

You need the bootstrap javascript file for this feature to work. It's the javascript that updates the class of the menu, when the icon is clicked.

From bootstrap documentation:

Requires JavaScript

If JavaScript is disabled and the viewport is narrow enough that the navbar collapses, 
it will be impossible to expand the navbar and view the content within the .navbar-collapse.

You need to include a link element to the bootstrap javascript file in your html page.

Hey! I did all like the asked me for... and it still not working..

*Resolved!!!

in the footer.php I used "get_footer" haha.. I just changed it to "wp_footer"

thanks!