Hi CSS experts,
Is there a way to change the color of the Star icon?
Thanks for your help!
![](https://uploads-eu-west-1.insided.com/docebosuccess-en/attachment/b8eb952c-d7af-4159-9dde-29d14b84c896.png)
![](https://uploads-eu-west-1.insided.com/docebosuccess-en/attachment/984fe288-ad0c-4a02-af69-99b34f78c7bd.png)
Hi CSS experts,
Is there a way to change the color of the Star icon?
Thanks for your help!
This was a fun one:
g[data-icon-name="star-filled"] {
fill: #ff0000;
}
I guess it’s SVG-based, so instead of e.g. color
or background-color
, you use fill
. And if you want to add an outline
, you’d use stroke
instead.
Thank you so much,
Enter your email address or username and password below to log in to Docebo Community. No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.