This topic has 13 replies, 3 voices, and was last updated 2 years, 11 months ago ago by xstoruser
dear,
i need to replace menu hover to open submenu in all departments with click to open for submenu, i have selected the OPENED BY CLICK option from the visibility in all departments settings, but the submenu hides when the cursor is away.
Thanks
Hello,
Could you, please, record a video of the problem?
Thanks in advance.
Regards
Hello,
Thanks for the video.
Add the next code in Theme Options > Theme Custom CSS > Custom CSS for desctop:
.secondary-menu-wrapper .menu > .item-design-mega-menu .nav-sublist-dropdown {
top: auto;
}
Regards
i have added the following code but the sub-menu still hides immediately when the cursor is away from the all departments menu.
i want to open all departments menu and it’s sub menus by click and not by hover.
Thank you
Hello
As for open submenu by click issue is concerned you can change the setting by going to Dashboard > Appearance > Menu and click on Mega Menu Option https://prnt.sc/12ds5ga then select the desire setting https://prnt.sc/12ds46f
If this doesn’t work or you have more questions, just let me know, and I’ll be happy to help!
Robert Hall
Customer Support
Dear,
Thank you for your reply, another problem appeared is that when i click on multiple items in the menu, several submenus are showing above each other instead of closing the previous submenu and a new submenu opens on new selection.
Hello
It is because of choosing Open sub menu by click if you choose hover effect with sub-menu it will automatically close previous menu.
Robert Hall
Dear,
please watch the video again, if you select the last menu item and can reach it’s sub menu or not. please watch the video again and again and use the website link to test by yourself.
Hello
Yes i watch your video again and add a small css code in additional css.
I change the Canned Food Sub-menu To Hover and see the result sub menu is working fine according to your requirements. https://prnt.sc/12gqsnj
Robert Hall
Dear,
Please share the code added. that’s what i was looking for.
Thank you!
Hello
Thank you so much for your kind words.
I use that css code.
.secondary-menu-wrapper .menu > .item-design-mega-menu .nav-sublist-dropdown {
top: auto;
}
Robert Hall
Noted, Thank you.
The issue related to '‘all departments menu submenu hides when mouse away’' has been successfully resolved, and the topic is now closed for further responses