I would like to hide the navbar for all screen sizes, except 480px and smaller screen sizes where I would like the "hamburger" to be displayed. How can I achieve this? Thank you.
Asked
Active
Viewed 543 times
0
-
Where is your navbar code? – Carol Skelly Feb 11 '17 at 08:14
2 Answers
0
Use the visible-xs class on your div. E.g.,
<div class="visible-xs any-other-class-you-may-have">
...
</div>

azizj
- 3,428
- 2
- 25
- 33
0
Use a media query..
.navbar {
display: none;
}
@media (max-width: 480px) {
.navbar {
display: block;
}
}

Carol Skelly
- 351,302
- 90
- 710
- 624