DaniDam
DaniDam
KPCKevin Powell - Community
Created by DaniDam on 8/13/2023 in #front-end
Change svg fill color
Hi guys, I would like to know is there some solution for changing svg fill color. I render the svg from strapi (and using astro.js) using object tag in react.js. After rendering the image I can see the svg when inspecting, and I can change the fill color in inspect, but not in css file. I've tried everything that I found, but it's not working. I read that it is difficult to override the fill color for svgs that coming from external source. i would like to know if anyone has any ideas how to solve this issue. Thank you
17 replies