Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #995273
    tianagreen
    Participant

    Hi there,

    I was having trouble with displaying a sub-menu on hover, then I found this post. I’ve added the code suggested to CSS in customizer, but I’m wondering it it’s possible to add a delay to the time it takes for the menu to pop up after hover. Right now it’s immediate, and it’d be nice to slow it down by 250ms or so.

    Thanks in advance!

    #995356
    Paul R
    Moderator

    Hi,

    Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation.

    #996827
    tianagreen
    Participant
    This reply has been marked as private.
    #996882
    Lely
    Moderator

    Hi There,

    Please try this CSS instead:

    .masthead .x-navbar .desktop li:hover > .sub-menu {
        visibility: visible;
        opacity: 1;
    }
    .masthead .x-navbar .desktop li > .sub-menu {
        visibility: hidden;
        opacity: 0;
        transition: visibility 1s, opacity 2s linear;
    }

    Hope this helps.

  • <script> jQuery(function($){ $("#no-reply-995273 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>