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

Matthew Schad
9,381 PointsWhy can't I get the nav items to expand to the width of the viewport? One keeps falling under the other three <li>.
Why can't I get the nav items to expand to the width of the viewport? One keeps falling under the other three <li> items at 768px. Should I clearfix them somehow or is there a different conflict?
1 Answer
Juan Trujillo
9,391 PointsOne suggestion:
Set the padding for your list items on your 768 break point to: 1em 2em
Then after your 768 breakpoint, add another breakpoint at 968px, then set the padding to 1em 4em for the list items

Matthew Schad
9,381 PointsThanks Juan!
Matthew Schad
9,381 PointsMatthew Schad
9,381 Points