gsuez / master-bootstrap-3

Joomla 3.x Template with Bootstrap 3
https://www.masterbootstrap.com/
142 stars 88 forks source link

menu hover #14

Closed mitsol closed 8 years ago

mitsol commented 9 years ago

The menu is behaving a little bit wrong: usually you have displayed the dropdown when hovering over the items (not as it is now by clicking) and there should be the possibility to click the parent item of a dropdown, which is not possible yet.

Any suggestions how to correct this? Thanks

gsuez commented 9 years ago

Hi, the behavior of the menu is correct. This is the way in Bootstrap. If you want dropdown when hovering over, add this in you css file:

ul.nav li.dropdown:hover > ul.dropdown-menu { display: block; }

Work in last version, 1.2.1

mitsol commented 9 years ago

Thanks a lot, opening the submenu while hovering works now.

Still an open issue is, that i can't open the parent menu item if there is a submenu:

e.g. following structure + Main item 1 + Main item 2 -- + Subitem 1 -- + Subitem 2 + Main item 3

it's possible to click and access Main item 1, Main item 3 and all the subitems, but it isn't possible to access Main item 2 directly.

EDIT: found out the solution :) - I had to put the class "disabled" for all dropdown links. So using this jquery line solved the problem

$('a[data-toggle="dropdown"]').addClass('disabled');
gsuez commented 9 years ago

Hi mitsol, check you site, could affect other functions if you have others dropdown.

gsuez commented 8 years ago

we haven't received the required feedback