wp-bootstrap / wp-bootstrap-navwalker

A custom WordPress nav walker class to fully implement the Twitter Bootstrap 4.0+ navigation style (v3-branch available for Bootstrap 3) in a custom theme using the WordPress built in menu manager.
https://wp-bootstrap.github.io/wp-bootstrap-navwalker/
GNU General Public License v3.0
3.37k stars 1.94k forks source link

How to make top menu clickable of drop down menu #9

Closed imalisiddique closed 11 years ago

imalisiddique commented 11 years ago

I created website with wp-bootstrap-navwalker ,but how can i create top menu clickable . http://newbury.viprecipe.com/01/ Here is my link i want to family support and childcare clickable

robhadfield commented 11 years ago

I would rephrase the menu drop item and add those items to the dropdown list. Either that or replace the click to show with a hover... of course then you have mobile to worry about :)

For clarity:

etc...

imalisiddique commented 11 years ago

could you provide me any code when i click childcare then it open it's page

robhadfield commented 11 years ago

This might help you : https://github.com/320press/wordpress-bootstrap/issues/62

SideQuestDIY commented 11 years ago

As I mentioned in my reply on issue #8

The parent menu item is not clickable as a link because that is how things are done with the bootstrap framework. The reason for this is that bootstrap dropdowns don't pop open on hover as most people are used to, but on click. This is so that the menus system is usable on mobile devices such as tablets and cellphones. If you change this you will not be able to access sub-menu items on a mobile device.

As making this change will create more issues than it solves, (although it is definitely possible to achieve) it is not something that this script will support.

@Rob-Che's recommendation of adding your page to the dropdown is the best all round solution.