Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #270090

    In customizing the enfold theme I’m running into background images in svg. For example, the breadcrumb icon.

    background-image: url(“data:image/svg+xml,%3Csvg%20version=%221.1%22%20xmlns=%22http://www.w3.org/2000/svg%22%20xmlns:xlink=%22http://www.w3.org/1999/xlink%22%20x=%220px%22%20y=%220px%22%20width=%2213px%22%20height=%2213px%22%20viewBox=%220%200%2013%2013%22%20enable-background=%22new%200%200%2013%2013%22%20xml:space=%22preserve%22%3E%3Cpath%20fill=%22%2313426b%22%20d=%22M6.501,1.084c1.448,0,2.812,0.565,3.836,1.593c1.019,1.022,1.581,2.38,1.581,3.823c0,1.445-0.56,2.801-1.581,3.823c-1.022,1.027-2.388,1.595-3.836,1.595c-1.45,0-2.812-0.567-3.836-1.595C1.646,9.301,1.084,7.945,1.084,6.5c0-1.442,0.561-2.801,1.58-3.823C3.688,1.649,5.051,1.084,6.501,1.084%20M6.501,0%09C2.91,0,0,2.911,0,6.5C0,10.091,2.91,13,6.501,13C10.09,13,13,10.091,13,6.5C13,2.911,10.09,0,6.501,0L6.501,0z%22/%3E%3Cpolygon%20fill=%22%2313426b%22%20points=%225.547,2.766%209.229,6.534%205.702,10.256%204.625,9.219%207.285,6.474%204.547,3.797%20%22/%3E%3C/svg%3E”);

    screenshot: https://www.evernote.com/shard/s3/sh/0230bfda-8c10-4e66-a1f6-be0191e0bb6c/f86a426c41134fb80ea5424ece3834c6

    What’s the easiest way to change the color of the image? I tried changing the decimal fill values but that didn’t work. It made the icon disappear. Thanks for the help!

    • This topic was modified 10 years, 6 months ago by Estland.
    #270230

    Hi Vada!

    This is s beyond the scope of the support we can offer.

    I recommend you to ask this question in a site like Stack Overflow.

    Regards,
    Josue

    #1444350
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘best way to change color of svg icon images’ is closed to new replies.