Site logo

[Resolved] Mobile menu animation

Home Forums Support [Resolved] Mobile menu animation

Home Forums Support Mobile menu animation

Viewing 9 posts - 16 through 24 (of 24 total)
  • Author
    Posts
  • #2092063
    David
    Staff
    Customer Support

    In the CSS – look for;

    .line {
        fill: none;
        stroke: black;
        stroke-width: 6;
        transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1), stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
    }

    Change the stroke: black; to stroke: #fff;

    #2092326
    Dmitry

    David, Thanks a lot! That works!

    May be hamb snippets was not ok because I didnt switch to svg in customizer?

    Lets handle mobile smooth dropdown:

    1. I have mobile header and sticky set to ON. Im lookin forward to make the smooth animation for the dropdown menu

    #2092794
    David
    Staff
    Customer Support
    #2092811
    Dmitry

    Ty for this CSS example. Somehow it does work, but anyway it looks rather glitchy. It behaves half-smooth and only backwards way. Check the link I attached.

    #2092888
    David
    Staff
    Customer Support

    Try adding this CSS Rule to that:

    .mobile-header-sticky #mobile-header.toggled .main-nav > ul {
        position: static;
    }
    #2092917
    Dmitry

    Amazing! Thanks. The last thing. When I click the toggle, I see 1 sec blinking with blue color of the menu? Cant get what CSS drives it to happened.

    #2092936
    Dmitry

    Oh! Already got the answer. I can use this one:

    @media (max-width: 768px) {
    .inside-navigation button {
        -webkit-tap-highlight-color: transparent !important;
        -webkit-backface-visibility:  hidden !important;
        }
    }
    #2092948
    David
    Staff
    Customer Support

    Awesome – glad to hear thats working!!

    #2092964
    Dmitry

    We’ve done a great job! This one looks amazing. I think 99% of GPP users prefer to have this mobile menu instead of the original one.

Viewing 9 posts - 16 through 24 (of 24 total)
  • You must be logged in to reply to this topic.