Tagged: compression, CSS, javascript, optimization, optimize
-
AuthorPosts
-
January 17, 2020 at 10:03 pm #1175690
Heya… I never tried out that feature of the theme, so I turned them on just to see if it would make a noticeable change in performance. For me, it didn’t, but it did do one thing….it made it so that CSS animations just don’t work. Everything now is an instantaneous jump from position A to position B. Yes, I did clear the cache, etc. Ideas?
January 18, 2020 at 12:00 pm #1175793Hey Kahil,
Could you post a link to where we can see the problem in question please? Also, did you select to load jQuery in the footer? If so then please try to deselect that option.
Best regards,
RikardJanuary 18, 2020 at 8:12 pm #1175899Nope, never turned on the footer setting.
Here’s a link to where you can see it on the side. Hovering over the business card product card should do a slow zoom and rotate. Now it just jumps right to the end position.I thought there was a fix for this…manually that is…here in the forums somewhere that came out after the feature was added, I just can’t find it anywhere. I get the feeling I need to edit a file or something…
January 19, 2020 at 2:09 pm #1175997Hi,
Thanks for the update, did you check for error messages on the page? I’m seeing an error from a js file in your child theme, please see private.
Best regards,
RikardJanuary 19, 2020 at 2:59 pm #1176004The issue in question doesn’t even use javascript. The element and animation is pure CSS.
January 21, 2020 at 8:28 am #1176596Hi,
The element and animation is pure CSS.
The css animations are actually activated by a Javascript function called waypoints. It detects the position of the elements in viewport, and apply the appropriate class attribute to start the animation. Is there a development version of the site? The scripts and css files are not merged when we check the site.
Best regards,
IsmaelJanuary 28, 2020 at 7:01 pm #1179132I figured it out. It isn’t a matter of any CSS or Javascript specifically. It was lazyload. I needed to disable that entirely for the css animations in my elements to work on my site. I knew it would help speed things up and compress the code, just didn’t think that it would disable simple css animations and just make them jump from the start to end point. Thanks.
January 29, 2020 at 1:14 pm #1179415 -
AuthorPosts
- You must be logged in to reply to this topic.