SVG Compatibility?

Hi Aedesign,

I added similar code to yours via my child themes functions.php file. I then added the following CSS to target .svg files. I added the code in a previous response as well. You must have missed it :wink:

img[src$=".svg"] {
  width: 100% !important;
  height: auto !important;
}

I then add one of your svg to a Photo module and the svg displays as intended.

Cloudup

So the issue was that you were sizing your svg using the icon CSS you added, but this wasn’t being applied to a module when you tried your svg there.

Thanks,
Danny