You can customize the size of rating control stars by using the custom CSS as the stars in the rating component are just sprite icons.
Customizing the size of the stars:
To increase the height and width of the stars, use smaller or larger sprite icons as per the requirement. By using the shapeHeight and shapewidth properties, you can increase the height of the wrapper of the element that holds the sprite image.
To include a sprite icon with the custom size (16x16) and to write the custom CSS to change other effects for this new sprite image use the following code:
The following screenshot is the output of the above code with the rating control star of 16x16 size.
A sample with the rating image of 16 x 16 is available in the following location. In the same way, you can customize the size of the stars to various widths and heights. You can find the custom CSS and image on the content folder.
This page will automatically be redirected to the sign-in page in 10 seconds.