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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Gary Cardinale](https://secure.gravatar.com/avatar/67f575c8f67cf7ea9b0a4093022121d7?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Gary Cardinale
Courses Plus Student 1,944 PointsIn mobile view, when you click the toggle menu, the dropdown menu appears to the left of the toggle, not under.
This happens in Chrome, IE 11, Firefox on Windows and Mac. It works right in Safari
1 Answer
![Barbara Wiacek](https://uploads.teamtreehouse.com/production/profile-photos/4495822/micro_IMG_20160413_143838943.jpg)
Barbara Wiacek
9,901 PointsYou need to put both the "button" and "a" elements inside a div with a class "navbar-header". No idea why this isn't mentioned in the video.
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Project name</a>
</div>
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="#">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</div>
</div>
</nav>
![Nataly Diem](https://secure.gravatar.com/avatar/412e4c109c36cece381114ad981b32e8?s=60&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Nataly Diem
9,701 PointsI was having the same problem and this fixed it, thank you so much!!
Samuele Legrenzi
11,386 PointsSamuele Legrenzi
11,386 PointsTry like this: insert in a div tag the button and the brand.
<!-- Navbar --> <div class="navbar navbar-inverse navbar-fixed-top"> <div class="container"> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button>