Support for lottie files
-
wrote on Nov 9, 2022, 6:31 PM last edited by
I think there's no way to do this now, but it would be really cool to be able to drag a .json or .lottie file in the media library. It would minimised file size drastically for vector based animations.
-
interesting!
you can search for a wordpress plugin for lottie files
in /wp-admin/ → pluginsmaybe sth like that exists!
im writing this down too -
I think there's no way to do this now, but it would be really cool to be able to drag a .json or .lottie file in the media library. It would minimised file size drastically for vector based animations.
wrote on Nov 29, 2022, 10:43 AM last edited by thomasmaier Nov 29, 2022, 10:43 AM@miltosbottis I am using Lottie for vector animations on multiple Lay Theme sites. Just add the Java Script in the corresponding input field under Lay Options > Custom CSS & HTML and add the Lottie code in a Gridder HTML element.
Only the fullscreen slider is incompatible with Lottie animations.
Hope I was able to help. :-)
-
@miltosbottis I am using Lottie for vector animations on multiple Lay Theme sites. Just add the Java Script in the corresponding input field under Lay Options > Custom CSS & HTML and add the Lottie code in a Gridder HTML element.
Only the fullscreen slider is incompatible with Lottie animations.
Hope I was able to help. :-)
wrote on Dec 6, 2022, 11:43 AM last edited by@thomasmaier wish I knew how to do that but got zero javas script knowledge. If you could elaborate a bit more on this it would help a lot.
-
wrote on Sep 19, 2024, 9:07 AM last edited by
Thanks, @thomasmaier ! I have a question: would it also be compatible with the ‘intro’ section in the customizer? I’d like to add an intro animation, but when including a GIF it just looks grainy and pixelated. @arminunruh , is this something you might consider including? Thanks!
-
oh the intro feature doesnt have any way to put html inside :/
-
wrote on Sep 24, 2024, 12:54 PM last edited by
Yea, I can see that. I was wondering if that's something it could be included at some point?
-
ok im writing it down
I also code custom websites or custom Lay features.
💿 Email me here: 💿
info@laytheme.com
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it