0

I want to have 2 bootstrap navbars. 1 below the other. However, when I view this on a mobile phone it shows 2 [=] buttons, 1 for each navbar. Is there a way to have 2 separate navbars and when they collapse to join into 1 menu that is all under the same expand button [=]?

I know I can hack this together with duplicate links and hidden-xs classes, but I am wondering if there is a better option.

Thank you.

tvirelli
  • 458
  • 7
  • 22
  • Have a look at the discussion on http://stackoverflow.com/questions/30810982/two-navbars-collapsed-into-1-for-mobile?newreg=19d34c73fd4c47c2ada61b6785b62754. It worked for me. – Richard Wood Feb 18 '17 at 10:48

1 Answers1

-2

It's not possible to use single toggle button for two navbars. If you look this question Two Responsive Nav bar in Bootsrap Page Conflicts you can see that if the menus have same data-target then you can use either button. And your can hide one button through css.

Community
  • 1
  • 1
Hassan Raza
  • 3,025
  • 22
  • 35