How to remove one of two star ratings?

I Have double star ranking but I want to keep the yellow one and remove the other one. How do I do this?

1 Like

Hi @Ourtrending

Would you mind to share your Store URL website? with password if its unpublish. Thanks!

1 Like

https://ourtrending.com/products/heart-shaped-effects-glasses

1 Like

Thanks for the info, check this one.

  • From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  • Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  • In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
.rating {
    display: none !important;
}

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

Unfortunately it didn’t work

1 Like

Try this one again.

Same Instruction, but first clean your base.css file first. Remove the code in the picture.

Made4uoRibe_0-1699643390996.png

Remain the closing bracket in the bottom.

Made4uoRibe_1-1699643427683.png

And copy and paste the code below AFTER the bracket.

.product__info-container .rating, 
p.rating-count.caption {
    display: none !important;
}

It should be like this.

Made4uoRibe_2-1699643528143.png

And Save.

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

1 Like

Unfortunately it didn’t work.

1 Like

Please, refresh the preview or browser. On my side it already remove.

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

Strange because it is still there for me

1 Like

Oh, is this from an app ratings?

Can you find the this code in the component-rating.css on the asset folder.

And edit this code below.

Original

Made4uoRibe_0-1699651197069.png

to edit.

Made4uoRibe_1-1699651234625.png

And the count from this.

Made4uoRibe_2-1699651283873.png

to this.

Made4uoRibe_3-1699651340780.png

Dont forget to save and refresh.

Please, make sure you only delete what is in the image and replace.

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

Unfortunately it still doesn’t work

Hi @Ourtrending ,

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file theme.liquid

Step 3: Paste the below code at the bottom of the file → Save


Hope my solution works perfectly for you!

Best regards,

Oliver | PageFly

Thank you. Now I have only this. Number 30. How can I remove this?

You can add