Tagged: x
-
AuthorPosts
-
March 31, 2016 at 11:32 pm #861967
Hi
I’ve used this code to change the position of the stars which is great but I actually want the stars to be red on a white background or gold on a red background … I’ve tried all sorts of combinations but no luck. 🙁
This is what I have so far
.woocommerce li.product .star-rating-container, .woocommerce-page li.product .star-rating-container {
position: static !important;
background-color: red
!important;
color: #F0E468; !important;
opacity: 1 !important;
}And this is how it looks…
http://thepathofdzar.com/product-category/readings/Thanks!
Mary
March 31, 2016 at 11:44 pm #861983Hi Mary,
Thanks for writing in! You already have a red background. To get the stars to be gold, you can add this under Custom > CSS in the Customizer or in your child theme’s style.css file.
.woocommerce li.product .star-rating-container .star-rating span:before { color: #F0E468; }
Hope this helps – thanks!
April 1, 2016 at 1:20 am #862111Perfect…thank you!
Have a great weekend. 🙂
April 1, 2016 at 4:42 am #862323You’re welcome!
Always,
X -
AuthorPosts