- This topic has 50 replies, 2 voices, and was last updated 5 years ago by
Tom.
-
AuthorPosts
-
June 19, 2020 at 3:48 pm #1334789
liorsade8
hi
sorry for the delay.
i couldnt break a site, so i made a test site, here is the link:
generatepress-test.s178.upress.link
i have changed all to spring.
please check
thanks.June 20, 2020 at 9:38 am #1335554Tom
Lead DeveloperLead DeveloperCan you remove any CSS we added that wasn’t a part of the hamburger.css? Anything you change to
springfromvortexin your custom CSS.June 20, 2020 at 9:40 am #1335555liorsade8
hi i did
the only CSS is:.mobile-menu-open .hamburger–spring .hamburger-inner {
transform: rotate(765deg);
transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
}.mobile-menu-open .hamburger–spring .hamburger-inner::before {
top: 0;
opacity: 0;
}.mobile-menu-open .hamburger–spring .hamburger-inner::before,
.mobile-menu-open .hamburger–spring .hamburger-inner::after {
transition-delay: 0s;
}.mobile-menu-open .hamburger–spring .hamburger-inner::after {
bottom: 0;
transform: rotate(90deg);
}.mobile-menu-open .hamburger–spring .hamburger-inner::before,
.mobile-menu-open .hamburger–spring .hamburger-inner::after {
transition-delay: 0s;
}June 20, 2020 at 4:56 pm #1335814Tom
Lead DeveloperLead DeveloperAny changes if you remove that? The custom CSS was made specifically for vortex, so it won’t work with spring.
There is an up-to-date article on animated hamburgers here which may help: https://docs.generatepress.com/article/animated-hamburgers/
June 21, 2020 at 4:11 pm #1336756liorsade8
hi
ok
i’ll try…
tell me – which is better loading the jonsuh from the css code?
or to actually upload the entire library as i am doing to all of my sites and then it’s on my site server (might be loaded quickly, or not?)?
what do u think?June 21, 2020 at 4:24 pm #1336760liorsade8
hi
so this code on the link: https://docs.generatepress.com/article/animated-hamburgers
is just for collapse animation…
when i try to change it to arrow / spring / or whatever it’s not working…
only collapse…?June 22, 2020 at 9:30 am #1337731Tom
Lead DeveloperLead DeveloperYes, the example uses collapse. You can grab any of the other effects from their site and replace the collapse CSS with it, then just update the
collapseclass in the HTML with the effect you chose.June 22, 2020 at 10:56 am #1337809liorsade8
hi
i try to put some other code for other animation… and didn’t got it right…
this is why asking u…
can you refer / write what code for example i need to put when want to use spring for instance?
thanksJune 22, 2020 at 2:32 pm #1338000Tom
Lead DeveloperLead DeveloperFirst, delete all the CSS under the /* Collapse */ CSS comment in your custom CSS.
Then add the CSS for spring: https://github.com/jonsuh/hamburgers/blob/v1.1.3/dist/hamburgers.css#L531-L554
Then, in your PHP, find this line:
<div class="hamburger hamburger--collapse">And replace it with this:
<div class="hamburger hamburger--spring">June 22, 2020 at 6:14 pm #1338104liorsade8
GREEEEAAAATT It’s working.
Once again u guys are amazing!and again asking – which is better? loading the jonsuh from the css code? like now… like in this site when u helped me // or to actually upload the entire library as i am doing now to all of my sites and then it’s on my site server (might be loaded quickly, or not?)?
what do u think?June 23, 2020 at 9:37 am #1339069Tom
Lead DeveloperLead DeveloperI would personally only add the CSS I need 🙂
June 23, 2020 at 11:25 am #1339216liorsade8
Great Guys.
U are Great!June 23, 2020 at 4:29 pm #1339512Tom
Lead DeveloperLead DeveloperGlad I could help 🙂
August 14, 2020 at 4:22 pm #1403385liorsade8
hi top
still there is a problem with this method.
if you will see support ticket: #713802
i was complaining about thatwhen i resize the browser to mobile for instance… and press the button of the menu, and leave it open and now enlarge the browser to “maximaize”
and than click again “restore down” on the entire browser…
and you will see that the menu is broken…
u need to refresh the page for it to come back to normal…any fix for that?
see in the code u gave me in the old ticket u figured it out and helped it and it’s working the other way…example site:
http://studiosadenew.s178.upress.linkthanks
August 15, 2020 at 10:07 am #1404233Tom
Lead DeveloperLead DeveloperI’ve updated the javascript here to hopefully handle that: https://docs.generatepress.com/article/animated-hamburgers/
-
AuthorPosts
- The topic ‘a problem with jonsuh.com/hamburgers menu’ is closed to new replies.