Hi support team,
I’m trying to achieve the menu’s on my website to hover. I’m using PRO with Ethos stack. I’ve been reading on this forum and I’ve seen that the menu’s should, by default, have this hover function. Unfortunately this doesn’t work on my site. I’ve tried this on several laptops and computers. Non of them touch enabled, all mouse enabled. I need to click on an icon to open the menu and when I want to close it, I need to click on that specific icon again.
I’ve two menu’s where I want this hover effect to take place:
One on the top:

And one on the right:

I’ve been writing some custom JS code to make this hover possible. I’ve come a long way, but have some troubles now with keeping the hover open longer. When I move my mouse over it or try to select something, it disappears really quickly.
Can you please help me solve this problem? This is the custom JS I’ve uploaded within the theme options:
jQuery(document).ready(function($) {
$(’.x-anchor-toggle’).mouseenter(function(){
$(this).next().addClass(“x-active”);
/* setTimeout(function () {
$(’.x-anchor-toggle’).next().addClass(“x-active”);
}, 250);
/
})
});
jQuery(document).ready(function($) {
$(’.x-anchor-toggle’).mouseleave(function(){
/ $(this).next().delay(1000).removeClass(“x-active”); */
setTimeout(function () {
$(’.x-anchor-toggle’).next().removeClass(“x-active”);
}, 500);
})
});
jQuery(document).ready(function($) {
$(’.x-dropdown’).mouseenter(function(){
$(this).addClass(“x-active”);
})
});
jQuery(document).ready(function($) {
$(’.x-dropdown’).delay(1000).mouseleave(function(){
$(this).removeClass(“x-active”);
})
});
I’ll provide my credentials in a secure note. Can you please help me make the hover function work for my website?
Thanks in advance! 
