How to fix this multiple toggle for button nav displying content separated (see image below) #32521
-
Is easier to explain with an image
Code for the button:
Tried this but doens't solve it https://stackoverflow.com/questions/48970058/bootstrap-4-collapsing-two-navbars-into-one-toggle-button |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
please write sample code in codepen! |
Beta Was this translation helpful? Give feedback.
-
Well instead of linking to it via multiple data-target ids, I created a separated menu for mobile using Nav-Walker for Wordpress were i merged the two menus using this https://cerkit.com/2016/01/02/merging-two-menus-in-a-custom-wordpress-theme/ |
Beta Was this translation helpful? Give feedback.
Well instead of linking to it via multiple data-target ids, I created a separated menu for mobile using Nav-Walker for Wordpress were i merged the two menus using this https://cerkit.com/2016/01/02/merging-two-menus-in-a-custom-wordpress-theme/
In other words this mobile menu is linked via data-target to the button, and not the menu on the sides. Hope it helps if someone has the same problem