Tuesday 5 January 2016

How to show stars instead of theme ratings in Woocommerce


woocommerce.png
If you want to show stars instead of theme ratings in Woocommerce, you can do this by changing the Woocommerce star ratings.
The Stars rating is the default rating system in WooCommerce, so to match the rating system with themes we have to disable this default rating first then replace this with the WooCommerce default. you can get it from “plugins/WooCommerce/assets/images” directly and place it in your themes “images” folder star.
.star-rating{float:right;width:85px;height:20px;background:url(images/star.png) repeat-x left 0}
.star-rating span{background:url(images/star.png) repeat-x left -35px;height:0;padding-top:20px;overflow:hidden;float:left}
.hreview-aggregate .star-rating{margin:15px 0 0 0}

Here is not the end.To view the full Blog about to show stars instead of theme ratings in Woocommerce visit Findnerd.

Also Visit findnerd for various Technology Blogs such as iOS, Java, Android Development Blogs etc. and for its various tools such as Session Tracker tool, Desktop Recording Tool, Project Management Tool etc.

No comments:

Post a Comment