[Resolved] Can’t change icons colours in Generate Blocks

Home Forums Support [Resolved] Can’t change icons colours in Generate Blocks

Home Forums Support Can’t change icons colours in Generate Blocks

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2030380
    Ian

    Hi, I’ve added a screen shot of the icon I’m trying to change the colour of. Trying to use GB to change the icon colour and this is the second icon I have not been able to do this to.

    #2030395
    Ying
    Staff
    Customer Support

    Hi Ian,

    Your custom SVG code includes the color already, so the color can not be changed within GB:
    https://www.screencast.com/t/I3RDvOsKOqS

    You’ll need to remove the color style before using them, I’ve removed the inline style, try this:
    <svg xml:space="preserve" style="enable-background:new 0 0 32 32" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><path d="M0 4v12h8c0 4.41-3.586 8-8 8v4c6.617 0 12-5.383 12-12V4H0zM20 4v12h8c0 4.41-3.586 8-8 8v4c6.617 0 12-5.383 12-12V4H20z"></path></svg>

    #2030510
    Ian

    Ok, thanks Ying

    #2030513
    Ying
    Staff
    Customer Support

    No problem 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.