Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #392825

    Hi, This may be outside of the support you give…but I’ll give it a go anyway.
    I want to change the hover on the menu so that instead of changing colour when you hover over it a small background box comes up with the item in the box

    So the menu item would be red and the box underneath would be white still with the small red bar underneath…

    #393063

    Hey Richard!

    Can you please post a screenshot and show the changes you would like to make? I am not sure if i understood you clearly. If you would like to change the background color of menu item on hover, please go to Enfold theme options > Advanced Styling tab and edit “Main menu links” and check ” Apply only to mouse hover state”

    Regards,
    Yigit

    #395486
    This reply has been marked as private.
    #395550

    Hey!

    Try adding this code to the Quick CSS:

    .av-main-nav > li > a{
        padding: 0;
    }
    .av-main-nav > li > a .avia-menu-text {
        background: white;
        color: red;
        padding: 3px 6px;
        margin: 0 10px;
    }
    
    .av-main-nav > li:hover > a .avia-menu-text, .av-main-nav > li.current-menu-item > a .avia-menu-text {
        border-bottom: 1px solid red
    }
    .avia-menu-fx{
        display: none;
    }

    Cheers! 
    Josue

    #396119

    Hi Josue

    Thank you for that but can the boxes come up as a hover…ie the box appears when the cursor clicks on one of the items in the menu?

    regards
    Richard

    #396122

    Hi Richard!

    Change it to:

    .av-main-nav > li > a{
        padding: 0;
    }
    .av-main-nav > li:hover > a .avia-menu-text {
        padding: 3px 6px;
        margin: 0 10px;
    }
    .av-main-nav > li:hover > a .avia-menu-text {
        background: white;
        color: red;
    }
    .av-main-nav > li:hover > a .avia-menu-text, .av-main-nav > li.current-menu-item > a .avia-menu-text {
        border-bottom: 1px solid red
    }
    .avia-menu-fx{
        display: none;
    }

    Cheers!
    Josue

    #396129

    Hi Josue

    Perfect….thank you for taking the time on this one

    Regards
    Richard

    #396290

    You are welcome Richard, always glad to help :)

    Regards,
    Josue

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