html5 - CSS drop down sub-menus vertical alignment -
i have drop down menu @ https://admin.vybenetworks.com/vybe/dropdown/ works fine except 1 thing. sub-menus aligned top of navigation rather menu item part of. example, under "billing" there sub-menu called "reports" 1 item called "sales report". sub-menu displaying near "recurring billing" item instead of next "reports" one.
i tried searching issue few hits issue. think containing element (li) "position: relative" , sub-menu (ul) "position: absolute" puts relative the parent ul instead.
thanks hints.
in vybe.css file on line 286px, have element so: nav ul ul ul. change property top of element to:
nav ul ul ul { /* other code here, don't copy comment */ top: 252px; /* other code there, don't copy comment */ }
it make sub menu element slide down next it's corresponding parent. can modify seem fit think 252px spot on.
let me know if worked/did not work you.
Comments
Post a Comment