Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #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!

    #1401466

    looking 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.

    #1401691

    Hi,
    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,
    Mike

    #1401714

    sadly no way to go that quick and dirty solution.

    • This reply was modified 1 year, 8 months ago by Guenni007.
    #1401718

    Hi,
    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,
    Mike

    #1401719

    i 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

    #1401729

    @cocoagroup : did you test the SVGator Plugin ?

    #1401883

    No 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.

    #1401899

    Hi,
    Oh I see, I found using object works, like this:
    <object data="/wp-content/uploads/ilus-home-1.svg" width="600" height="600"> </object>

    Best regards,
    Mike

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.