Site Reviews inline CSS
-
Hi,
I am using the
site-reviews/config/inline-stylesfilter hook to customize the stars$config[':star-empty'] = 'https://my-website.com/wp-content/uploads/star-empty.svg';I have a custom
review.phptemplate. The stars are displayed in<div class="stars"> {{ rating }} </div>With the latest update, those stars now have a black background set by
<style id="site-reviews-inline-css">.glsr-star {background:#212121!important;}which seems to be superseding the rule set in
minimal.css.glsr-star-full {background-image: var(--glsr-star-full);}However, the stars shown on another part of the page with
echo glsr_star_rating($ratingInfo->average)are displayed normally and are styled byminimal.css.If I revert to the previous version, all works as expected.
Is this a bug, or can I modify the inlined CSS?
Thanks,
Max
The topic ‘Site Reviews inline CSS’ is closed to new replies.