I have bootstrap v3. I use the class="active" on mynavbar and it does not switch when I press menu items. This is my navbar code, but the active state is not working. When I click the cart, it stays at the home, which was set as active in this HTML code. Hi, I am trying to set up a simple Bootstrap menu it works fine except the Active component doesn't work. Meaning, when I load the page into a browser, I Bootstrap navbar active state not working . Search for: Search. Bootstrap navbar active state not working. With Bootstrap, a navigation bar can extend or collapse, depending on the screen size. A standard navigation bar is created with