Closed s7evenseven closed 1 year ago
Hello everyone, In option, use can setting height and width of star image. But it display wrong. To fix this bug: in file index.php, line 129,130,131. replace that line by
echo $star_gray || $star_w != 24 ? '.kk-star-ratings .kksr-star.gray { '.($star_gray ? 'background-image: url('.$star_gray.'); ' : '').($star_w != 24 ? 'background-size: '.$star_w.'px; ' : '').'}' : ''; echo $star_yellow || $star_w != 24 ? '.kk-star-ratings .kksr-star.yellow { '.($star_yellow ? 'background-image: url('.$star_yellow.'); ' : '').($star_w != 24 ? 'background-size: '.$star_w.'px; ' : '').'}' : ''; echo $star_orange || $star_w != 24 ? '.kk-star-ratings .kksr-star.orange { '.($star_orange ? 'background-image: url('.$star_orange.'); ' : '').($star_w != 24 ? 'background-size: '.$star_w.'px; ' : '').'}' : '';
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
Hello everyone, In option, use can setting height and width of star image. But it display wrong. To fix this bug: in file index.php, line 129,130,131. replace that line by
echo $star_gray || $star_w != 24 ? '.kk-star-ratings .kksr-star.gray { '.($star_gray ? 'background-image: url('.$star_gray.'); ' : '').($star_w != 24 ? 'background-size: '.$star_w.'px; ' : '').'}' : ''; echo $star_yellow || $star_w != 24 ? '.kk-star-ratings .kksr-star.yellow { '.($star_yellow ? 'background-image: url('.$star_yellow.'); ' : '').($star_w != 24 ? 'background-size: '.$star_w.'px; ' : '').'}' : ''; echo $star_orange || $star_w != 24 ? '.kk-star-ratings .kksr-star.orange { '.($star_orange ? 'background-image: url('.$star_orange.'); ' : '').($star_w != 24 ? 'background-size: '.$star_w.'px; ' : '').'}' : '';