surveywp / kk-star-ratings

kk Star Ratings wordpress plugin
https://wordpress.org/plugins/kk-star-ratings
Other
119 stars 44 forks source link

Fix bug change size of star #31

Closed s7evenseven closed 1 year ago

s7evenseven commented 7 years 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; ' : '').'}' : '';

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 1 year ago

This issue was closed because it has been inactive for 14 days since being marked as stale.