I'm trying to show a hard code star rating on a page using this code
This is the result
How do I get rid of the first row of zero star?
Code:
<xf:macro template="rating_macros" name="stars_text"
arg-rating="{$resource.rating_avg}"
arg-count="{$resource.rating_count}"
arg-rowClass="ratingStarsRow--justified"
/>
<span class="ratingStars " title="4.91 star(s)">
<span class="ratingStars-star ratingStars-star--full"></span>
<span class="ratingStars-star ratingStars-star--full"></span>
<span class="ratingStars-star ratingStars-star--full"></span>
<span class="ratingStars-star ratingStars-star--full"></span>
<span class="ratingStars-star ratingStars-star--half"></span>
<span class="u-srOnly">4.91 star(s)</span>
</span>
<span class="ratingStarsRow-text">
22 reviews
</span>
How do I get rid of the first row of zero star?