NO BUG: SVG in iconbox doesn't change

Bricks Version: 1.5.6
Browser: Chrome 107.0.5304.87
OS: macOS
URL: https://jordy-bricks.mooiesite.eu/

Hey Guys,

I’m having some issues with the iconbox. Firstly, I added an iconbox. Did some styling and added an SVG as icon. So far so good. Afterwards I duplicated the iconbox twice and changed the icon to another. The upload of the icons went well. But somehow, it shows the icon from the original iconbox. Even if I add a new iconbox and select a new SVG, it still shows the SVG icon from the first iconbox.

Screen share: Home (Builder)

Hope you guys could help me out!

Best,
Jordy

Hi Jordy,
Thanks for reaching out!

Your SVGs use inline styles and share the same ID referencing these inline styles (#pattern0), so they look the same :smiley:

You can work around this by using different IDs in your SVGs (open them in a text editor and change the IDs accordingly), or while exporting, remove the inline styles (depends on which program you’re using).

Best regards,
timmse

1 Like

Thank you so much @timmse ! We will give it a go in a couple of hours, but you’re help so far is highly appreciated!