Custom rating image with Retina?
-
I am trying to use the ratings with a custom image with retina. After reading through this forum, i started using CSS.
@media (-webkit-min-device-pixel-ratio: 2),(min-resolution: 192dpi) {
.rating-star-icon[style] {
background: url(‘https://www.server.com/wp-images/rating2x.png’) top left !important;
background-size: 16px 16px;
}It replaces the image, but unfortunately when replaced the animation is not working anymore. Any thought how to best use Retina?
- The topic ‘Custom rating image with Retina?’ is closed to new replies.