Home › Forums › WoodMart support forum › How to increase the size of product star rating
How to increase the size of product star rating
- This topic has 9 replies, 2 voices, and was last updated 4 years, 6 months ago by Elise Noromit.
-
AuthorPosts
-
June 2, 2020 at 5:38 pm #200029
DukamalabuhaderParticipantHello,
on the product page the size of the star rating and the text next to it (“xxx customer reviews”) is for my taste way too small (13px) and is not affected by the font size settings of the theme. How to increase it?
Thanks in advance!
Best regards.June 2, 2020 at 9:57 pm #200098
Elise NoromitMemberHello,
Please provide the screen and product page URL, I will check if it is possible with custom CSS.
Best Regards
June 3, 2020 at 8:40 am #200190
DukamalabuhaderParticipantHello,
since I am still working on a local environment without access from outside, I set up a sample product page here based on the Handmade template.
It look basically the same on my local page.
Both stars and the font next to it are 13px, I was aiming for at least 16px throughout the page.Admin credentials are in the private field.
Thanks!
June 3, 2020 at 12:05 pm #200288
Elise NoromitMemberHello,
Please add this code to the Theme Settings > Custom CSS > Global:
.single-product-page .star-rating, .single-product-page .star-rating span:before { font-size: 16px; } .single-product-page .star-rating { width: 85px }
Best Regards
June 3, 2020 at 8:15 pm #200416
DukamalabuhaderParticipantHello,
the CSS code indeed increased the size of the stars, but in the same time it biased the user rating (how much is “painted” in yellow). As you can see in the snapshot below after applying the CSS the rating shows higher value than the real one.
How to solve that?
Best regards.
Attachments:
You must be logged in to view attached files.June 4, 2020 at 8:43 am #200554
Elise NoromitMemberHello,
We are checking the code once again and see how it works at our side:
Please send your screen and if you have modified the custom CSS, show what did you do?
Best Regards
June 4, 2020 at 9:26 am #200566
DukamalabuhaderParticipantI am sorry, my bad.
I was trying to increase the size a bit more and obviously only played around with the font size but neglected the width.
Would you be so kind to elaborate to what values the width needs to be set to reflect for instance font size of 18px or even 20px?Thanks in advance!
Best Regards.June 4, 2020 at 10:03 pm #200818
Elise NoromitMemberHello,
18*5=90 you you should take 90 or 100
20*5=100 take 110 or 120
Best Regards
June 5, 2020 at 2:46 pm #201081
DukamalabuhaderParticipantPerfect, thanks.
June 5, 2020 at 10:55 pm #201185
Elise NoromitMemberYou are welcome! If you have any questions please feel free to contact us.
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register