Okay
  Public Ticket #1917922
remove hover animation on menu button
Closed

Comments

  • pwuj started the conversation

    e5c7d90b-1df8-44d5-ac46-83d454226645 


    How do I remove/disable the on hover animation on the menu button? This is the distracting transform wiggle or wobble effect that moves the button around when you hover on it.  Thanks!

  •  1,974
    Support replied

    Hello,

    try removing the following in /js/scripts.js


    //Parallax Burger Menu
    $('#burger-wrapper').mouseleave(function(e){
    TweenMax.to(this, 0.3, {scale: 1});
    TweenMax.to('#burger-circle, #menu-burger', 0.3,{scale:1, x: 0, y: 0});
    });
    $('#burger-wrapper').mouseenter(function(e){
    TweenMax.to(this, 0.3, {transformOrigin: '0 0', scale: 1});
    TweenMax.to('#burger-circle', 0.3,{scale: 1.3});
    });
    $('#burger-wrapper').mousemove(function(e){
    callParallax(e);
    });

    and then hard refresh the page (Ctrl+F5)


    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy