GeckoGrafix
9/27/2019 - 7:34 PM

Strong testimonial star swap

**
 * Display:
 * Skip loading the star rating stylesheet in Strong Testimonials.
 */
function my_skip_display_ratings_style() {
	wp_deregister_style( 'wpmtst-rating-display' );
}
add_action( 'wp_enqueue_scripts', 'my_skip_display_ratings_style', 11 );
/**
 * Form:
 * Skip loading the star rating stylesheet in Strong Testimonials.
 */
function my_skip_form_ratings_style() {
	wp_deregister_style( 'wpmtst-rating-form' );
}
add_action( 'wp_enqueue_scripts', 'my_skip_form_ratings_style', 11 );

.strong-view .strong-rating span.star {
  display: inline-block;
  width: 34px;  /*= image size + padding */
  height: 34px;
  padding: 5px;
  background-image: url("URL TO IMAGE FILE");
  background-size: 28px 28px;
  background-repeat: no-repeat;
  background-position: center;
}

/* turn off stars after the current rating */ 
.strong-rating span.current ~ span.star {
  opacity: 0.4;
}