Shopify themes, liquid, logos, and UX
Hi guys,
i want to change the color on the star rating in the product grid but i really cant fint out where to do it.
Solved! Go to the solution
This is an accepted solution.
You can change it from Online store > Themes > Customize > Collections > Default collection > Product grid > Color scheme, click Edit > change color in Text. But it will change the color of the product title.
.rating-star:before {
content: "\2605\2605\2605\2605\2605";
background: linear-gradient(90deg,#3b61ef var(--percent),rgba(var(--color-foreground),.15) var(--percent));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Could you share your page URL to check?
- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Have send you a privat massage 🙂
This is an accepted solution.
You can change it from Online store > Themes > Customize > Collections > Default collection > Product grid > Color scheme, click Edit > change color in Text. But it will change the color of the product title.
.rating-star:before {
content: "\2605\2605\2605\2605\2605";
background: linear-gradient(90deg,#3b61ef var(--percent),rgba(var(--color-foreground),.15) var(--percent));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Thanks alot that work!
You are very welcome
- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Hello - thank you so much, it's exactly what I need. Although it works in the design view (I see the stars change colour), when I try and save, I get a red message at the bottom saying "Online store publisher session can't be published". Do you know why this might be?
Thank you!!!
So please add code to theme.liquid file, after <head> and check again
{%- if template.name == 'collection' or template.name == 'search' -%}
<style>
.rating-star:before {
content: "\2605\2605\2605\2605\2605";
background: linear-gradient(90deg,#3b61ef var(--percent),rgba(var(--color-foreground),.15) var(--percent));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
</style>
{%- endif -%}
- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Thank you so much but that doesn't work; the stars are still the same colour. I've tried to rename and upload my theme.liquid file but it won't let me!
I really do appreciate your help with this, there is no way that I'd be able to work it out on my own!
did you solve this?
Yeah I just sent Judge.me a message and they fixed it 🙂
I'm not sure how. Are you using Judge.me too?
yes i am
Amazing, thanks, it looks like it will work and then shopify won't let me publish it. Something is wrong. I'm using "New Refresh."
Plesae use this code and add it to your theme.liquid file after <head> tag instead of add code to Custom CSS
{%- if template.name == 'collection' or template.name == 'search' -%}
<style>
.rating-star:before {
content: "\2605\2605\2605\2605\2605";
background: linear-gradient(90deg,#3b61ef var(--percent),rgba(var(--color-foreground),.15) var(--percent));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
</style>
{%- endif -%}
- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Didn't work. 😞
Please share your store link so I can check
- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Servus Männer,
my worke around... put it in your base.css on the bottom 🙂
.rating-star:before {
content: "★★★★★" !important;
background: linear-gradient(
90deg,
#FFD700 calc(var(--rating, 0) * 20% + var(--rating-decimal, 0) * 10%),
rgba(0, 0, 0, 0.15) calc(var(--rating, 0) * 20% + var(--rating-decimal, 0) * 10%)
) !important;
-webkit-background-clip: text !important;
-webkit-text-fill-color: transparent !important;
display: inline-block !important;
font-size: inherit !important;
}
.rating-star::before {
font-size: 1.5rem !important;
}
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025