Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1119937
    Andrei
    Participant

    Hi guys,

    How can I hide the line above the parent menu, when I hover over a sub menu, in the header? I attached an image.

    Thank you!

    #1119941
    Andrei
    Participant

    Also I would like to hover the hole box in the footer menu and in the sub menu, as the top menu is.

    My website is //sinestezic.com

    #1120030
    Christopher
    Moderator

    Hi there,

    Please add following code in Customize -> Custom -> CSS :

    .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;
    }
    ul#menu-footer-menu li a:hover {
        background-color: rgba(0,0,0, 0.25) !important;
    }
    

    Hope that helps.

    #1120133
    Andrei
    Participant

    Thank you Christopher for your reply. The first code worke like charm, unfortunately the second one doesn’t work.

    #1120167
    Thai
    Moderator

    Hi There,

    Please delete this CSS:

    ul#menu-footer-menu li a:hover {
        background-color: rgba(0,0,0, 0.25) !important;
    }

    And the following CSS instead:

    #menu-footer-menu li {
        top: 0;
    }
    #menu-footer-menu li a {
        height: 29px;
        display: block;
        line-height: 29px;
    }

    Hope it helps ๐Ÿ™‚

    #1120249
    Andrei
    Participant

    Yes, it works great for the footer menu. It doesn’t work for the sub menu in the top menu.

    #1120648
    Christopher
    Moderator

    Hi there,

    Please find this code :

    .x-navbar .desktop .sub-menu a:hover {
        box-shadow: inset 0px 4px 0px 0px rgba(255,255,255,0.95) !important;
    }

    And update it to :

    .x-navbar .desktop .sub-menu a:hover {
        box-shadow: 0px 4px 0px 0px rgba(255,255,255,0.95) !important;
     background-color: rgba(0,0,0, 0.25) !important;
    }

    Hope it helps.

    #1121850
    Andrei
    Participant

    Hey Christopher,

    Thank you very much for your reply. This is how it looks like. Can we bring the white line down, where the red line is, at the bottom of the box? Thank you again.

    #1121920
    Christopher
    Moderator

    Hi there,

    Please follow my previous replay to display box shadow under the submenu items.

    Thanks.

    #1121950
    Andrei
    Participant

    Hi Christopher,

    I did follow your previous reply and this is what I get (in the attached image). It adds another bacground over the previous background but the line doesnศ›t move at the bottom.

    #1122028
    Joao
    Moderator

    Hi There,

    Please add the following code to Appereance Customizer Custom CSS

    @media (min-width: 1200px) {
    .x-navbar .sub-menu {
        bottom: 0;
    }}

    Hope it helps

    Joao

    #1122531
    Andrei
    Participant

    Hi Joao,

    I tried it and it doesn’t work. You can see what I get in the attached image.

    #1122594
    Joao
    Moderator

    Hi There,

    Please add the following code to Appereance Customizer Custom CSS

    .desktop .sub-menu {
    
    padding: 0;
    }
    

    Hope it helps, if that does not work please provide your Wp Admin Credential in a private reply so we can provide you a final answer ๐Ÿ™‚

    Thanks

    Joao

    #1124070
    Andrei
    Participant

    Thank you Christopher, I managed to solve the problem. Thank you for your great support.

    #1124127
    Thai
    Moderator

    Glad you’ve sorted it out.

    If you need anything else, please let us know ๐Ÿ™‚

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