Utilizing a jquery plugin, I have successfully implemented a star rating feature sourced from this location. The stars are appearing as intended, but upon selection, the default color is red. This selected color is specified in the .rateit .rateit-selected
class. In an attempt to change it to yellow, I modified my style.css file with the following code:
.rateit .rateit-selected {
color: rgb(239, 197, 41);
}
Despite this alteration, the selected color remains unchanged, potentially due to a background gif present in the styling found at this link https://i.sstatic.net/mg6ov.gif.
The desired customization entails a background of star.gif provided by the plugin and a yellow color (modified from red). Here is the updated CSS:
.rateit .rateit-selected {
background : url(star.gif) left -16px;
color: rgb(239, 197, 41);
}
However, achieving the yellow color on selection from star.gif proves challenging due to its composition of four layers of stars within the gif.