Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1307998

    Hello
    I have the .avia-menu-fx working nicely on my main menu, but I’d like to apply the same hover/active etc with the fx element on a fw sub menu. Here’s what I’d like to replicate in a sub menu as well. I’ve given my sub menu a class of ‘subNavWhite’ and then will also build one called ‘subNavBlack’. Thanks.

    /* horizontal line under current item */
    
    .header_color .avia-menu-fx {
    	/* display: none; */
        opacity: 1!important;
        background: #5400ff!important;
        height: 5px!important;
    }
    
    .av-main-nav li:hover .avia-menu-fx,
    .current-menu-item > a > .avia-menu-fx,
    .av-main-nav li:hover .current_page_item > a > .avia-menu-fx {
        /* opacity: 1!important;
        visibility: visible; */
    }
    
    /* fx animation */
    
    .avia_transform .av-main-nav li:hover .avia-menu-fx {
    
        -webkit-animation: avia_pop 0.7s 1 cubic-bezier(0.175, 0.885, 0.320, 1.275)!important; 
        animation:         avia_pop 0.7s 1 cubic-bezier(0.175, 0.885, 0.320, 1.275)!important; 
    }
    #1308272

    Hey webWahine,

    Thank you for the inquiry.

    Looks like the full width sub menu is only available in the home page. Are you trying to highlight the active menu item? The solution that we provided in the following thread might help.

    // https://kriesi.at/support/topic/enfold-gaming-demo-menu-functionality-on-sub-menu

    Best regards,
    Ismael

    #1308332

    Hello, Ismael

    sorry, but that is not at all what I need help with. The sub menu is just me moving forward, trying to resolve this on my own. As above, I want to be able to add the fx bottom border to my fullwidth sub menus, just like the default one in the header, please :)

    #1308717

    Hi,

    I want to be able to add the fx bottom border to my fullwidth sub menus,

    That is actually what the code or script in the previous thread does. It adds the current-menu-item class name to the active menu so that you can add an indicator to it such as a bottom border.

    Best regards,
    Ismael

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