Design and CSS styles
Version 6.x > Design and CSS styles > SVG background image View modes: 
User avatar
brandonm-salespad - 5/14/2012 3:38:16 PM
SVG background image
For some reason I can't get Kentico to recognize an .svg file when trying to link to it in my css. My work around was to basically just create a png of the same thing, but it's really not ideal. I'm just wondering why I can't get it to recognize an .svg.

I've read on stack overflow that it can be a server issue where it doesn't recognize the mime type, but I'm not sure how to fix that or if it is even the cause of the disconnect.

User avatar
Kentico Support
Kentico Support
kentico_janh - 5/15/2012 6:23:47 AM
RE:SVG background image

Yes, you need to add a mime type for a svg file into your IIS. For example in IIS 7 is it:

1) Choose your web site
2) Open MIME Types
3) Click on the Add... button
4) Fill following properties:

File name extension: .svg
MIME type: image/svg+xml

Best regards,
Jan Hermann