i fixed this i have now clean 70% of unused css style
open wp-content/plugins/gd-star-rating/css/gdsr.css.php
find $type == “s”
and replace this code
if ($type == "s") {
$folders[] = substr($r, 3);
$sets[] = $set;
with this one
if ($type == "s") {
if ($set['folder'] == 'Classical') {
$folders[] = substr($r, 3);
$sets[] = $set;
}
i am using “Classical” set, depend which set are you using e.g.
soft, Star Rating,Crystal, Darkness etc.
now find this
echo "/* stars sizes: ".join(", ", $sizes) ." */\r\n";
add this code just before above code
$sizes = array(16, 24);
$sizes = array();
$folders = array();
now i cleaned up arrays with stars and restricted array with sizes to our actually used (16 and 24).
i cleaned upto 30kb of unused css style
hope it’ll help
—
sorry for poor English