# How to change color of star icons?

**URL:** <https://forum.shopware.com/t/how-to-change-color-of-star-icons/98589>\
**Category:** Themes & Design (EN)\
**Created:** [17. Februar 2023 um 11:33 UTC](https://forum.shopware.com/t/how-to-change-color-of-star-icons/98589 "2023-02-17T11:33:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![magnus](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/magnus/32/13222_2.png) [@magnus](https://forum.shopware.com/u/magnus)\
**Post date:** [17. Februar 2023 um 11:33 UTC](https://forum.shopware.com/t/how-to-change-color-of-star-icons/98589/1 "2023-02-17T11:33:15Z")

</div>

Hi  
Is it possible to change the fill color of the star icon (and maybe other icons) in a custom theme?

The fill color is set in the svg file: `/development/platform/src/Storefront/Resources/app/storefront/dist/assets/icon/default/star.svg`

I tried with copying this file to my custom theme (and change the fill color):  
`/development/custom/plugins/[MyCustomTheme]/src/Resources/app/storefront/dist/assets/icon/default/star.svg`

But it does not looks like it’s picked up (the „default“ color is still used). Is this even possible?

I have read some other thread about the icons, but they are mostly about changing the whole icon set.

/ Magnus

---

<div class="post-metadata">

**Author:** ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)\
**Post date:** [17. Februar 2023 um 13:54 UTC](https://forum.shopware.com/t/how-to-change-color-of-star-icons/98589/2 "2023-02-17T13:54:42Z")

</div>

It is a CSS overlay. Just open the source code with your browser, deactivate all applied classes and you will find the responsible class.

---

<div class="post-metadata">

**Author:** ![magnus](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/magnus/32/13222_2.png) [@magnus](https://forum.shopware.com/u/magnus)\
**Post date:** [17. Februar 2023 um 15:37 UTC](https://forum.shopware.com/t/how-to-change-color-of-star-icons/98589/3 "2023-02-17T15:37:41Z")

</div>

That is excellente, @Max_Shop 😃  
I was looking at the code with the browser inspector - but forgot to check the CSS rules. 🤦‍♂️

/ Magnus
