Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #924966

    Hi,

    On my site, I have created a code that gives the current/select page menu an out line color. Here is the code:

    /*CHANGE ACTIVE MENU – BORDER – MARGIN – PADDING – BACKGROUND-COLOR – BORDER-RADUIS */
    #header .av-main-nav .current-menu-item > a > .avia-menu-text
    {border:2px solid rgba(104, 219, 215, 1) !important;margin-left:5px !important;padding:12px !important;background-color: rgba(255, 255, 255, 1) !important;border-radius: 20px !important;}

    I would like the SAME EXACT treatment on hover. On hover the menu items would look the same as the selected/highlighed menu

    How do I achieve that?

    #924986

    Hey navindesigns,
    Try this code in the General Styling > Quick CSS field:

    #header .av-main-nav > li > a > .avia-menu-text:hover {
    border:2px solid rgba(104, 219, 215, 1) !important;
    padding:12px !important;
    background-color: rgba(255, 255, 255, 1) !important;
    border-radius: 20px !important;
    }
    #header .av-main-nav > li > a:hover {
    padding: 0 1px !important;
    }

    Best regards,
    Mike

    #924987

    that works but there is one issue
    on hover there seem to be like a jump to the right. all the menu items are being shifted to the right a little

    also how do I change the menu font color to #68dbd7 when hover

    #925256

    Hi,
    I have corrected the error with this css:

    
    #header .av-main-nav .current-menu-item > a > .avia-menu-text 
    {border:2px solid rgba(104, 219, 215, 1) !important;margin-left:5px !important;padding:10px !important;background-color: rgba(255, 255, 255, 1) !important;border-radius: 20px !important;}
    
    
    #header .av-main-nav > li > a > .avia-menu-text:hover {
    border:2px solid rgba(104, 219, 215, 1) !important;
    padding:10px !important;
    background-color: rgba(255, 255, 255, 1) !important;
    border-radius: 20px !important;
    }
    
    #header .av-main-nav > li > a {
    padding:0px !important;
    }
    
    #header .av-main-nav > li > a > .avia-menu-text {
    padding:12px !important;
    }
    

    Please clear your browser cache and check.

    Best regards,
    Mike

    #925320

    That works

    Thanks

    #925403

    Hi,

    Glad that Mike helped you :) Let us know if you need further assistance or if we can close this thread.

    Best regards,
    Nikko

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.