Mega Menu is on a hair trigger it opens too fast

Solved14 replies5 participantsUpdated by Tony Rodriguez

XStore documentationHow to build a mega menu in XStore
  • Avatar: nickporter
    nickporter
    Participant

    HI
    Is there a way to delay the mega menu opening it opens the second you cross it with your mouse.
    This is really anyoing. Perhaps there is a setting I have missed.
    I have never used mega menus before but this seems to me like there should be a setting to adust it.
    Thanks in advance.
    Nick

    14 Answers

    Avatar: Alex Carter
    Alex Carter
    Support staff

    Hello,

    Thank you for reaching out to us.

    Please try to use this custom CSS code:

    .menu-item-has-children:hover>.nav-sublist-dropdown,li.menu-open-by-click.opened>.nav-sublist-dropdown,li:hover>.nav-sublist-dropdown {
        -webkit-animation-duration: var(--dropdown-animation-duration,.5s);
        animation-duration: var(--dropdown-animation-duration,.5s);
    }

    Warm Regards,
    The 8Theme Team

    Avatar: nickporter
    nickporter
    Participant

    Thanks for getting back to me.
    Where do I put it? is it possible to put it in the child theme so it applies to all of my mega menus?
    Thanks
    Nick

    Avatar: Alex Carter
    Alex Carter
    Support staff

    Hello,

    You can add code to the settings of the menu item you want to influence via the header builder – https://prnt.sc/fsGBJhe3lapD

    Warm Regards,
    The 8Theme Team

    Avatar: nickporter
    nickporter
    Participant

    Thanks that’s not working there seems to be a lot of errors in it.
    I was also hoping to be able to add it to some code to a file in the chid theme so it applies to all the mega menus I create. Is that possible?
    See screen shot for warnings
    Cheers
    Nick

    Files is visible for topic creator and
    support staff only.
    Avatar: Alex Carter
    Alex Carter
    Support staff

    Hello Nick,

    Thank you for your message. The code itself is correct, and you can safely ignore those warning symbols. You can also add the code to your child theme’s style.css file so that it applies to all the mega menus you create.

    Please let us know if everything works properly after adding the code.

    Best regards,
    8Theme’s Team

    Avatar: nickporter
    nickporter
    Participant

    Hi
    thanks for that.
    I have added it to the style.css file see the screen shot aattached but it has made no difference.
    If your mouse is above the menu it is almost impossible to get down onto the page without triggering the mega menu drop downs.
    If you need access to the backend please let me know.
    Thanks
    Nick

    Files is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff

    Hello @nickporter,

    We have requested the WP Admin account in another ticket.
    Could you please share it with us?

    Best regards,
    The 8Theme Team

    Avatar: nickporter
    nickporter
    Participant

    Yes there you go
    Thanks
    Nick

    Please contact administrator
    for this information.
    Avatar: Justin
    Luca Rossi
    Support staff

    Hello @nickporter,

    We have added the following custom CSS code to your website:

    
    body .menu-item-has-children:hover>.nav-sublist-dropdown,
    body li.menu-open-by-click.opened>.nav-sublist-dropdown,
    body li:hover>.nav-sublist-dropdown {
        -webkit-animation-duration: 0.7s !important;
        animation-duration: 0.7s !important;
    }
    

    Could you please clear all caches and check the website again?

    Thank you for your cooperation.

    Best regards,
    The 8Theme Team

    Avatar: nickporter
    nickporter
    Participant

    Thanks for that it works much better now. Couple of quick questions

    will that work on all mega menus now ?

    second on some of the mega menus when I have over them I get this message. but this appears when I am on the home page so I can’t save it. How to fix please..

    We have imported template successfully. To setup it in the correct way please, save this page, refresh and select it in dropdown.

    Thanks again for your help.
    Nick

    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello @nickporter,

    This setting should be applied to all mega menus. However, if you would like to adjust the opening speed for specific menu items, please clarify your request in detail and include screenshots.

    The message you see on some mega menu items may appear if the mega menu content has been deleted. You can reassign the content for these items by navigating to XStore Builders -> Header Builder -> Elementor -> All Departments -> Select Mega Menu Content: https://prnt.sc/W-j6iStMelQJ

    Best regards,
    Jack Richardson
    8Theme Team

    Avatar: nickporter
    nickporter
    Participant

    Thats great,
    thanks very much for your help.
    Cheers
    Nick

    Avatar: nickporter
    nickporter
    Participant

    Thanks for the support! My topic “Mega Menu is on a hair trigger it opens too fast” has been successfully resolved.

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff

    Dear nickporter,

    Thanks for being part of our WordPress & WooCommerce community!

    We’re happy we could assist you. Your feedback truly matters — it helps us make XStore better, faster, and more reliable with every release.

    Together, we’re shaping a better WooCommerce experience for everyone.

    Topic closed.
    The 8Theme Team

The issue related to '‘Mega Menu is on a hair trigger it opens too fast’' has been successfully resolved, and the topic is now closed for further responses