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!

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


Bootstrap media queries

I have created a website using bootstrap. I have set a breakpoint for max-width: 767px, however when I scroll to this size in the viewport the navigation is not adjusting to the collapse button navbar for smaller devices. Instead it is adjusting at 669px instead. I dont understand why this is doing this as my media queries are set at 767px???

Jeff Lemay
Jeff Lemay
14,268 Points

It's tough to help troubleshoot without seeing the code or the site. Could you post a link?

1 Answer

idan ben yair
idan ben yair
10,288 Points

From experience it usually means that theres another piece of code that overwriting what youre trying to do. Did you make sure theres no media queries that are set to adjust at 669px?