Okay
  Public Ticket #3015828
Remove mobile hamburger menu animation
Closed

Comments

  • lemonncake started the conversation

    https://themenectar.com/salient/business-3/

    How can I remove the mobile hamburger button menu animation?

    I'm using the same style of menu as above, and I want to show only x and hamburger menu buttons as an immediate response.

    I'm making good use of your theme. Thank you.

  •  1,877
    Judith replied

    Hi There,

    Thanks for choosing Salient.

    I think I am not getting clearly exactly what you need. Do you have a website with a similar layout for us to replicate.

    Thanks.

  • lemonncake replied

    Thank you for your reply.

    https://opensea.io/

    I hope the animation doesn't work on the hamburger menu like the one above.


    https://spoqa3.iwinv.net/wp/99tesst/

    When I set the values such as transition, animation-duration, etc. in css, the animation is not removed and the delay remains.

    I would appreciate it if you could tell me how to remove it.



  •  8,839
    Tahir replied

    Hey Again,

    Add this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):

    #slide-out-widget-area.open .off-canvas-menu-container>ul>li {
        -webkit-transition: none !important;
        transition: none !important
    }

    Thanks


    ThemeNectar Support Team 

  • lemonncake replied

    Thank you.
    However, my point is to remove the animation of the hamburger menu icon.

  •  8,839
    Tahir replied

    Hey Again,

    Add this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):

    #search-outer .close-line, .nectar-close-btn .close-line, .slide-out-widget-area-toggle a .close-line, .slide_out_area_close .close-line, .style_slide_in_click .close-cart .close-line {
        animation-duration: 0s!important;
        animation-delay: 0s !important;
    }

    Thanks


    ThemeNectar Support Team 

  • lemonncake replied

    Thank you.

    However, when the close button is pressed, the hamburger menu animation remains.

    Even after pressing the close button, there is a delay until the hamburger menu is loaded.

    I contacted you because there was a problem even if I corrected it on css. Is there any solution?

  •  1,877
    Judith replied

    Hi There,

    Please try this css:

    #top .slide-out-widget-area-toggle a .lines-button:after {
        transition: none;
    } #search-outer .close-line, .nectar-close-btn .close-line, .slide-out-widget-area-toggle a .close-line, .slide_out_area_close .close-line, .style_slide_in_click .close-cart .close-line {
        animation-duration: .0s;
        -webkit-animation-timing-function: cubic-bezier(.52,.01,.16,1);
        animation-timing-function: cubic-bezier(.0,.0,.0,0);
    }

    Thanks.