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

CSS

Dailian Quiñones
Dailian Quiñones
1,239 Points

About the mobile icon menu

So everything is working in the navbar when i put it on mobile, i know that the button is there an it does the drop down menu when i click it, it just doesn't show the icon, why is that?

1 Answer

tomd
tomd
16,701 Points

Sorry Dailian, this is impossible to answer without seeing your code.

Dailian Quiñones
Dailian Quiñones
1,239 Points

<nav style="background-color: #000000" class="navbar navbar-expand-lg shadow-sm min-width"> <a class="navbar-brand text-warning mr-auto" href="home.html"><p class="display-4">La Vie Galerie</p></a> <button class="navbar-toggler " type="button" data-toggle="collapse" data-target="#navbarNavAltMarkup" aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation"> <span class="sr-only">(current)</span> <span class="navbar-toggler-icon"></span>

</button> <div class="collapse navbar-collapse" id="navbarNavAltMarkup"> <div style="font-size: 18pt" class="navbar-nav ml-auto"> <a class="nav-item nav-link text-white " href="Home.html">Home </a> <a class="nav-item nav-link text-light" href="About.html">About</a> <a class="nav-item nav-link text-light" href="Gallery.html">Gallery</a> <a class="nav-item nav-link text-light " href="Contact.html">Contact</a> </div> </div> </nav>

And like i said, the button works it just does not show the mobile icon lines.