SOLVED: Stroke property in Custom CSS section not working for Custom SVG icon

Bricks Version: 1.6.1
Browser: Chrome 90
OS: macOS
URL: About – Motion Rental

In Reviews Section, please have a look at stars.

When you set stroke with color picker, it works fine, but when you write custom css so that it can be added on class, the stroke property doesn’t do anything and the stroke defaults to black for Custom SVG Icon.
Also, the stroke, fill, height and width property are not applied on class, I don’t know why but it defaults to ID instead of class, and hence we have to either add it on every custom SVG Icon or write Custom CSS.

1 Like

Hi Ripal,
Thanks so much for your report!

  1. What does your custom CSS look like?
  2. You are right about the properties only being assigned to the ID. I have added it to the bug tracker.

Best regards,
timmse

Hi Ripal,
We’ve fixed this bug in Bricks 1.7 beta, now available as a manual download in your Bricks account: Account – Bricks

Please let us know if you are still experiencing issues.

Best regards,
timmse