change mega menu dropdown behavior to "click" instead of "hover"?
-
Topic
-
So with nav items with submenus (much like your video demo with columns), I would prefer a solution where clicking the top nav item causes the submenu to appear (and stay put, unlike the current hover trigger, at least until another submenu is shown). Can you point me in the direction of the bits of javascript to change?
I’m also finding it impossible to modify certain bits of CSS in the mega menu, like the hover background found here
/assets/css/theme.css
.tb-primary-menu ul a:hover {
background: #f5f5f5;
}normally CSS in my child theme easily overrides, but I can’t get any CSS to work with the mega menu nav items, no matter how specific the element or use of “!important”
- You must be logged in to reply to this topic.