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

Cam Sykes
Cam Sykes
781 Points

The Mobile view drop-down menu doesn't toggle properly.

Hi I've been having really frustrating issues where the mobile view drop-down menu toggle doesn't work properly. The css seems to change when I click it but the drop-down menu doesn't appear. I've double checked that jquery and correct version is loading and it has. I've scanned my code up and down and tried to determine the problem but with no success.

The dropdown menu works fine in full view but when it changes to the smaller screen size toggle button menu, it doesn't work. I've followed all the steps in the video so maybe there might be something I'm missing.

1 Answer

Cam Sykes
Cam Sykes
781 Points

Okay, I solved it. Looking at it now I see I've just added id="navbar". So that explains why the related class wasn't functioning properly.