• Resolved Mike Matenkosky

    (@hikinmike)


    I used the style-svg method to fill my SVG using this: .style-svg {fill: red;} in my child theme’s CSS. Some of the paths worked, so didn’t. I had to use the !important tag, but knew there was a better way.

    I use Inkscape and the “Fill and Stroke” section HAS to be set for ‘Paint is undefined’, meaning if any part of your SVG has color, it won’t work. Just click on the question mark icon ? and it changes the color to undefined so it inherits the color you set in CSS. Took me part of an afternoon to figure that one out.

    Hope this helps somebody else…

Viewing 1 replies (of 1 total)
  • Plugin Author Benbodhi

    (@benbodhi)

    Hi there,

    Thanks for providing this info about using Inkscape!

    I personally haven’t used it much and usually I edit my svg files in a code editor prior to upload so all the elements are clear to me and set up how I’d like.

    This post will surely help other Inkscape users! So I truly appreciate you taking the time to help others.

Viewing 1 replies (of 1 total)
  • The topic ‘Couldn’t Change SVG Color’ is closed to new replies.