Archived topic
Can't change icons colours in Generate Blocks
3 replies · Started by Ian on November 29, 2021
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.
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>
Ok, thanks Ying
No problem :)