Sub-menus not collapsing

I have multiple sub-menus in my navbar and they are not collapsing correctly on mouseleave. When hovering on the left navbar items, they expand and stay open even when my login menu nav sub-menu opens.

Hello @tunedotcom,

Thanks for writing in!

Website is using version of X Theme 6.4.6 and Cornerstone 4.0.4 that’s incompatible with each other. In that regards I suggest you to update X Theme to latest version 7.0.4 to avoid any compatibility issues.

Once you have updated X theme, please clear cache and test the Sub-menus again.

Please take a look at following resources to update X Theme:

https://theme.co/changelog/

Thanks.

Hello,

I updated X theme to the latest version. The problem is not fixed.

This bit of code seems to fix the problem if anyone else encounters it:

jQuery(document).ready(function($){
$(’.menu-item’).hover(function(){
$(this).addClass(‘x-active’);
}, function(){
$(this).removeClass(‘x-active’);
});
});

Ok well glad to see you resolved this, @tunedotcom, and thanks for sharing the solution!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.