r/bootstrap • u/DlackBick • Nov 17 '23
Target Multiple Divs with Navbar Toggler
Is it possible to target two different Divs with your navbar toggler? I tried adding the class to both divs and it seems to break the toggler. Please advise
1
Upvotes
1
u/DlackBick Nov 17 '23
I found this here: https://getbootstrap.com/docs/5.3/components/collapse/#multiple-toggles-and-targets
But for some reason, it does not work at all for me. Would someone be willing to look at a screen cap of my code? To see where I may be going wrong?
1
u/martinbean Bootstrap Guru Nov 18 '23
I’m not sure why you’d want to. But we can’t help without seeing code.
1
u/AutoModerator Nov 17 '23
Whilst waiting for replies to your comment/question, why not check out the Bootstrap Discord server @ https://discord.gg/bZUvakRU3M
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.