Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1085743
    Marco C
    Participant

    Hi guys,

    I’ve been trying to remove the yellow lines on the main menu that appears on hover.
    Any hint? The page address is dev.visitpaddington.com.au

    Thank you in advance!

    Marco

    #1086205
    Prasant Rai
    Moderator

    Hello Marco,

    Thanks for writing in!

    You can add this under Custom > CSS in the Customizer:

    .x-navbar .desktop .x-nav > li > a:hover {
        box-shadow: none !important;
    }

    Thanks.

    #1101666
    Marco C
    Participant

    Hi Prasant,

    thank you for your help. I’m working with a child theme btw
    It doesn’t correctly: when the pointer leaves the menu item the yellow line appear for a split second…

    Any suggestions?

    Thank you in advance!

    Marco

    #1101674
    Paul R
    Moderator

    Hi Marco,

    You can try this code instead.

    
    .x-navbar .desktop .x-nav > li > a:hover, .x-navbar .desktop .x-nav > .x-active > a, .x-navbar .desktop .x-nav > .current-menu-item > a {
        box-shadow: none !important;
    }
    

    Hope that helps.

    #1105926
    Marco C
    Participant

    Hi Paul,

    it’s working now! thank you heaps!

    Marco

    #1106226
    Friech
    Moderator

    We’re delighted to assist you with this.

    Cheers!

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