[Support request] Nav links effect

Home Forums Support [Support request] Nav links effect

Home Forums Support Nav links effect

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

    Hi there.
    Thanks to this great support forum I was able to add Nav links effect on my menu.
    Unfortunately there is something that I need to fix.
    I don’t know if my request goes beyond the support provided by this forum… Anyway, I try to ask.

    I added the follow code and it work well:

    /* nav links effect */
    .main-navigation .menu > .menu-item > a::after {
        content: "";
        position: absolute;
        right: 0;
        left: 50%;
        bottom: 15px;
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
    
        display: block;
        width: 0;
        height: 2px;
    
        background-color: currentColor;
        transition: 0.3s width ease;
    }
    .main-navigation .menu > .menu-item.current-menu-item > a::after,
    .main-navigation .menu > .menu-item > a:hover::after {
        width: 80%;
    }

    The problem is that I’m using a plugin for Mobile menu, and it doesn’t work if I use the above code.
    The plugin is Superfly Menu.

    It is possible to fix?
    Thank you.

    #1597307
    David
    Staff
    Customer Support

    Hi there,

    its out of our scope if its directly plugin related, i can take a look at the menu if you can share a link to the site to see whats possible – but just as a note: Mobile devices don’t do hover effects correctly as you can’t ‘really’ hover on a mobile device

    #1597780
    Enrico

    Thanks David.
    I meant something else… I meant that the plugin menu does not work (the sub menu does not open) if I add Nav links effect on desktop menu.

    Anyway, I don’t understand the reason, now both desktop and mobile menu works well.
    Thanks for you kind reply and sorry I wasted your time 🙁

    Have a good day.
    Enrico

    #1597987
    David
    Staff
    Customer Support

    No problems – glad you got it resolved!

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