Inline svg solution found | WordPress.org

[ad_1]

Just thought I would share.

I had a problem with getting SVG-images to be inline (outputting <svg>…</svg>), and I discovered it was because of the image size. The default is “big”, but setting this to “full” outputs the full <svg>-code.

Now, all the animations and links in the SVG works.

This does not need the wp_lazy_loading-fix in functions.php

Rejoice!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer