Hey dear my friends – how can i get rid of the integrated Animation of Hamburger Menu.
Is it a script or pure css ?
The Reason is – that i want to animate it by greensock script
btw. on learning now the animation by greensock i recognized that layerslider uses it too – do i need than to activate it or is it active by default because layerslider is implemented
a bit like this. :lol:
Hey Guenter!
Thank you for using Enfold.
It’s pure css. You can disable it with this code.
.av-hamburger--spin .av-hamburger-inner::after, .av-hamburger--spin.is-active .av-hamburger-inner::before, .av-hamburger--spin .av-hamburger-inner::before, .av-hamburger--spin .av-hamburger-inner::after, .av-hamburger--spin .av-hamburger-inner {
transition: none !important;
}
And regarding the “greensock” js, if I am not mistaken, it’s not going to be added to the page unless there’s a layer slider on it.
Best regards,
Ismael
Well activating is no problem so far – but you mean if there is on a specific page a adv. layerslider the greensock animation will not work.
Hi!
Yes, that is what Ismael is saying. LS would need to be in a page ( the shortcode call ), to get the JS loaded
Regards,
Basilis