Having some issues targeting SVG images with CSS to use as backgrounds on certain elements. When I try to access the image directly here, it works perfectly fine. However, when using it in CSS, I encounter the following error:
Resource interpreted as Image but transferred with MIME type text/xml
I attempted to resolve this by adding an .htaccess file to the directory that serves the images, including the following code:
AddType image/svg+xml svg
Any suggestions on how to fix this issue?