Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1350789
    Kalle Johansson
    Participant

    Hi,

    A navbar dropdown menu disappears a second or so after the pointer is moved away from it. I find that a bit sluggish. Could I shorten this delay time?

    (website: http://klimatriksdagen.se/)

    #1350832
    Rahul
    Moderator

    Hey There,

    Thanks for writing in.

    You can avoid this delay by adding following under Custom > CSS in the Customizer :

    /* Avoiding Submenu Delay */
    .x-navbar .desktop .x-nav li:hover > .sub-menu {
       display: block;
    }

    Let us know how it goes!

    #1350847
    Kalle Johansson
    Participant

    That did not work. The delay persists. Sorry.

    #1350925
    Rupok
    Member

    Hi there,

    Thanks for updating but I can’t see any delay now. Can you check again and make sure?

    Cheers!

    #1351040
    Kalle Johansson
    Participant

    Please see attached video. I have cleared the WP SuperCache twice, without change. Does it look differently at your end?

    #1351163
    Jade
    Moderator

    Hi Kalle,

    Please try to add this in the customizer:

    .x-navbar .desktop .x-nav li > .sub-menu {
       display: none;
    }
    
    .x-navbar .desktop .x-nav li:hover > .sub-menu {
       display: block;
    }

    Hope this helps.

    #1351217
    Kalle Johansson
    Participant

    It did. Thanks a lot!

    Another question: I managed to format the menu using this

    .x-navbar .sub-menu {
     background-color: #00AEEF;
     font-size: 15px;
     text-align: right;
    }

    However “font-style: bold;” did nothing. Also, can the font itself be changed?

    #1351503
    Friech
    Moderator

    Hi There,

    font-style only accept normal, italic, or oblique.

    Use font-weight instead.

    header .x-navbar .desktop .sub-menu a {
        font-weight: 800;
        font-family: cursive;
    }

    Where cursive is the name of the font that you want to use. 800 is how thick the text would be (100 thin – 900 bold)

    Hope it helps, Cheers!

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