what version of bootstrap are you using ? Use 230+ ready-made Bootstrap components from the multipurpose library. I tried adding navbar-light to the parent button and the icon showed. I have a Bootstrap navbar with the toggle button. Importing it separately can cause errors. CSS variables are applied to .navbar, defaulting to the light appearance, and can be overridden with .navbar-dark. Navigation in navbars will also grow to occupy as much horizontal space as possible to keep your navbar contents securely aligned. Designed and built with all the love in the world by the. At the moment, my navbar is collapsing and the toggle button is appearing. With no .navbar-brand shown at the smallest breakpoint: With a brand name shown on the left and toggler on the right: With a toggler on the left and brand name on the right: Sometimes you want to use the collapse plugin to trigger a container element for content that structurally sits outside of the .navbar . I had added jQuery and bootstrap in the incorrect order in my header files. Navbars are responsive by default, but you can easily modify them to change that. Documentation and examples for Bootstraps powerful, responsive navigation header, the navbar. It also has a type attribute of "button". This problem was driving me mad but your solution worked, thank you so much! Responsive behavior depends on our Collapse JavaScript plugin. Tip: You can also remove the .navbar-expand-md class to ALWAYS hide navbar links and display the toggler button. Yay, Im so glad it could help you, I remember how much it frustrated me! Another option is to modify your theme's templates and add one of the bootstrap classes (e.g. How can I set the default value for an HTML