-
AuthorPosts
-
March 16, 2023 at 7:39 pm #1401439
Hi there! I love your theme.
1. I would like to know how to use animated SVGs with this theme. Right now I’ve made many trials in this page with this image but it doesn’t work, I just see an static image. I’ve installed the SVG support plugin already.
The animated SVG has been created with SVGATOR.2. Also, Is there a way to insert SVGs using the Image element?
Admin access below.
Thanks!March 17, 2023 at 12:48 am #1401466looking to your svg – there are a lot of script inline. if you insert your svg code via codeblock to enfold – the animation will work.
on an img file – i guess the script part will not work as expected.
as background-image – this will be lost too. On Svgator you can export your animation to gif – maybe that is an alternative vor you.
By the way : next Enfold will offer lottie file support. These are svg / json “images” you can insert to Enfold.March 19, 2023 at 5:19 pm #1401691Hi,
Thank you Guenni007 for sharing your SVG expertise.
I didn’t see your SVG on your page so I added a code block element with this code in it:<object data="/wp-content/uploads/ilus-home-1.svg" width="600" height="600"> </object>
under the heading DO NOT HESITATE TO CONTACT US. in the SVG & animation is showing.
Please check.Best regards,
MikeMarch 19, 2023 at 8:36 pm #1401714sadly no way to go that quick and dirty solution.
- This reply was modified 1 year, 8 months ago by Guenni007.
March 19, 2023 at 8:47 pm #1401718Hi,
Sorry I don’t understand, are you saying that uploading the SVG in the media library removes the animation?
The SVG cocoagroup uploaded to the media library is animating correctly here using a code block element as you recommend.Best regards,
MikeMarch 19, 2023 at 8:54 pm #1401719i tested it now on a different page – it does not work there – don’t know why
maybe you had to choose a different way to implement the animation inside that svg : see https://www.svgator.com/tutorials/how-to-add-svg-animation-to-wordpress
March 19, 2023 at 9:29 pm #1401729@cocoagroup : did you test the SVGator Plugin ?
March 21, 2023 at 10:52 am #1401883No Mike
Hi,
Sorry I don’t understand, are you saying that uploading the SVG in the media library removes the animation?it is the usage as img src that will not do the animation. Inserting it as background the same.
March 21, 2023 at 12:40 pm #1401899 -
AuthorPosts
- You must be logged in to reply to this topic.