Site logo

Archived topic

Animated Hamburger Icon

64 replies · Started by Jonathan on May 2, 2018

Viewing posts 46–60 of 65

1. No need to load Font Awesome if you won't be using it.

2. Try replacing the javascript part of the code with this: https://gist.github.com/generatepress/589b9e91bca7205883b0454f15a4dcf9

3. The amount of the CSS is the same, so it won't matter. Personally I would grab only the necessary CSS for the effect you need instead of loading all of the effects.

hi
i replaced the code....
still not working good with the scrolling....

did it.
still... not working

hoooooooooolllllllyyyy gwakamooollleeee!
it's working!
u'r awesome!!!
now we all have regular and one page scrolling animated hamburger icons for the amazing Generatepress theme!
u'r the best guys!
thanks

You're welcome :)

I've used the gist and have a working button however I was hoping it would be applied to the slideout menu which I'm not sure about. When the main hamburger div is clicked it rotates however the slidemenu closes the button is left in it's closed state. Example site below, needs viewing in mobile:

https://retail.morocco-gold.com/

hi tom, does the slidemenu has a different code needed as Jonathan wanted?
it will be great to know...
i changed the site: http://menuhamburgerstest.s178.upress.link/
to slideout menu so we can try on it...
thanks

Thanks. It does work to a point but the animation is lost when the slideout menu appears as the close button is static.

A good example of what I was looking for is this site, although the slideout is 100% width of the browser:

http://demos.themetrust.com/becket

This archived topic is closed to new replies.