Last active
February 27, 2022 10:21
-
-
Save carlosonweb/06a3d5ab237b38afc0b5118f94f9f778 to your computer and use it in GitHub Desktop.
On Beaver Builder Theme, prevent the Navigation Menu from displaying submenu items on hover and instead do it on click.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No doubt, thanks! I found some issues when resizing browser so I added that into the the mix. I only wanted to target one menu item in particular because it was a mega menu too, thus the reason for the #menu-item-12157. I also added a couple lines of CSS to make it all work proper too.
`jQuery( document ).ready(
function( $ ) {
});`
#menu-item-12157 .sub-menu{ opacity: 0 !important; } #menu-item-12157 .sub-menu .sub-menu { opacity: 1 !important; }