SVG fallback to PNG?

Hi,

I’m trying to figure out how to do this within webflow for some of the designers on my team not so great with code.
Basically, we want to use SVG graphics for logos, and we need them to display in IE8. I’m trying to figure out how I can tell webflow to fallback to PNG if the browser doesn’t support SVG.

If I export the code and add in some jquery and a css class, everything works, but I can’t figure out how to do it from within webflow and it may not be possible and I’m just over thinking it.

Anyone have similar issues that have worked for them or something to add to this?

Cheers

1 Like

Can’t you add you JS code in the Custom Code panel of your webflow site admin, and a class to the element, within Webflow? So you don’t have to update your code at each export.

I haven’t had time to mess around with this but I will soon and report back. This could be a useful feature for a lot of people!