Updated 2022
The Bootstrap 5 Navbar also requires navbar-light
or navbar-dark
to make the hamburger show when the Navbar is toggled to mobile mode.
Updated 2018
The hamburger is there, but it’s not visible because the Navbar needs a color, or change the toggler color.
<nav class="navbar navbar-toggleable-md bg-faded navbar-light">
..
</nav>
- Use
navbar-dark
to produce light/white colored links and toggler - Use
navbar-light
to produce dark/gray colored links and toggler
In Bootstrap 4.0.0 navbar-toggleable-
has changed to navbar-expand-
, but navbar-light
and navbar-dark
still work the same way…
<nav class="navbar navbar-expand-md navbar-light bg-light">
..
</nav>
also see: Bootstrap navbar: nothing is displayed on smaller devices