Review stars showing up wrong
-
Hi Team,
I’m having a weird problem on my site. Customers have given products 5 stars, but for some reason they are showing up as 4 stars. I can see it is 5 stars in the comment section, but it is just now displaying right. Please can you help.
Thank you
Hi,
Please, provide us a screenshot of this problem for better understanding.
Regards
Please see attached. The Edit Comment page clearly shows 5 stars, but the Comment on Site screen shot shows you it is only displaying 4 stars.
Attachments:
You must be
logged in to view attached files.
Hi, I am using your fashion-new theme btw.
Also, I have just approved your review. Please have a look. It is showing as 4 stars. I will have to delete this soon since this is a live site. But here’s a screenshot
Attachments:
You must be
logged in to view attached files.
Try to add the following code snippet to the Custom CSS area in Theme Settings to fix this issue
.comment-text .star-rating {
width: 70px;
}
Brilliant. Thanks, this worked. Thank you!
OK, how do I get it to also show the 5 stars at the top? This is just under the product name? This is still showing 4 stars. If you could let me know the name of the element please?
Is it just .star-rating or will I need to qualify it with .woocommerce-product-rating -star-rating?
Thanks
Try to replace that code
.star-rating {
width: 70px;
}
OK, replaced the original code with just the .star-rating element. Now it works everywhere (I hope). Thank you for your help.
The topic ‘Review stars showing up wrong’ is closed to new replies.