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 trialruna verse
409 Pointscontainer tag for the nav (with new developments in bootstrap-4, where are we supposed to put the container tag)?
I tried putting a new div above <ul> <div class="container">, but it messed up the nav.
1 Answer
runa verse
409 Pointsfigured it out!
<nav class="navbar fixed-top navbar-toggleable-md navbar-inverse bg-primary pb-4"> <div class="container"> <button class="navbar-toggler navbar-toggler-left" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button>
Raffael Dettling
32,999 PointsRaffael Dettling
32,999 PointsNice but use the Markdown cheatsheet to improve the readability :)