XF 2.1 changing the rating star color

nesman

Member
As the title suggests I'm trying to change the rating star color. I already know about the option under the miscellaneous option but it doesn't seem to be changing the color of the stars on the leave rating popup.

1684416711368.webp

I tried to put this in the extra.less but no luck.
Code:
.ratingStars-star.ratingStars-star--full::before {
    color: #ffcc00;
}

Am I just looking in the wrong spot?
 
Solution
Then it's an issue with your style, or you have a problem with your less template not rendering correctly.

It works as expected on the default style.
Try this:

Less:
.ratingStars-star.ratingStars-star--full:before,
.ratingStars-star.ratingStars-star--half:after
{
    color: #ffcc00 !important;
}
 
Then it's an issue with your style, or you have a problem with your less template not rendering correctly.

It works as expected on the default style.
 
Solution
Back
Top Bottom