Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bootstrap dropdown menu: make parent link active link? #10

Open
emb03 opened this issue Mar 21, 2016 · 1 comment
Open

Bootstrap dropdown menu: make parent link active link? #10

emb03 opened this issue Mar 21, 2016 · 1 comment

Comments

@emb03
Copy link

emb03 commented Mar 21, 2016

I am trying to make the parent link on a dropdown menu item an active link, but have no idea how to integrate this into the theme. Any suggestions?

@coevolving
Copy link

That's not a bug, it's a feature!

Bootstrap decided it was better to have it behave like this for mobile/touch device users. Rollovers do not exist in mobile/touch devices so this was the solution. and since the majority of the web is going mobile, they were just future proofing. Duplicate the parent item underneath the drop-down with default bootstrap settings, or remove the functionality with the suggested answers but I don't recommend it. – DMAC Jul 16 '15 at 19:36
... says "Bootstrap dropdown parent link not clickable" at https://drupal.stackexchange.com/questions/123824/bootstrap-dropdown-parent-link-not-clickable .

I took his advice, and added an extra (redundant) child link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants