Support » Plugin: Scalable Vector Graphics (SVG) » SVG Color Styling

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Sterling Hamilton

    (@sterlo)

    Hey buddhatunes!

    I’m happy to help. I need a little more information.
    Are you asking how to update an SVG file itself or to get an existing file to work with the plugin?

    Do you have an online example I can look at?

    Shaun

    (@mendigallery)

    Hey Sterling, I’ve actually run into this problem I’ve tried inline and file css styles and nothing is working.

    Something as simple as:

    #triangle-svg path{
    	fill: red;
    }

    …doesn’t seem to change the color at all. Any ideas?

    Maybe your .svg file has in-line / in-file ‘fill’ styling.
    If you edit the .svg file (via SFTP) and remove all fill="" styling, it’ll display as black (i.e. black is the default fill color).
    So you should either add !important to your CSS rule or you should remove in-file fill styling.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘SVG Color Styling’ is closed to new replies.