SOLVED: Icons for Text Links Can't be Styled with a Class

1.8.4

Add four text links. Add a class to them. Add an icon. Try to style the icon (size/color/etc.). The icons behave as if they’re being styled at the ID level. This makes it impossible to style icons of text links from a single source of truth.

Hi Kevin,

Thank you for your report.

I’m not sure I understand what you mean by “behave as if they’re being styled at the ID level”.

I’ve tried replicating your setup and it seems to be behaving as expected:

Am I missing something here?

Best regards,
Charaf

1 Like

Hi Kevin,

Thank you so much for the detailed video.

I understand the scenario better now and can confirm this is a limitation with custom SVGs controls. I’ve added this to the internal bug tracker to tackle this.

For now, as a workaround, you could apply some custom CSS to the class:

Best regards,
Charaf

We finally fixed this issue in Bricks 2.0 alpha, now available as a manual download in your account (see changelog).

Please let us know if you are still experiencing issues.

As with any pre-stable release, please do not use it on a production/live website. It is only meant for testing in a local or staging environment.