• Resolved Massimo

    (@xamax)


    Hi,

    I am using the site-reviews/config/inline-styles filter hook to customize the stars

    $config[':star-empty'] = 'https://my-website.com/wp-content/uploads/star-empty.svg';

    I have a custom review.php template. 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 by minimal.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

    • This topic was modified 2 years ago by Massimo.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Gemini Labs

    (@geminilabs)

    Have you enabled the WooCommerce integration and have you changed the stars to black in the integration settings?

    Thread Starter Massimo

    (@xamax)

    Thank you for the fast reply.

    Yes to both, and double-checked in case something changed during the update.

    Plugin Author Gemini Labs

    (@geminilabs)

    In that case it might be a bug. I will look into it once I am back from the WordCamp Europe event.

    Thread Starter Massimo

    (@xamax)

    Hi,

    I updated to the latest version and the issue is still there.

    Did you have a change to give it a look?

    Thanks

    Plugin Author Gemini Labs

    (@geminilabs)

    The update later today will fix this.

    Thread Starter Massimo

    (@xamax)

    Hi,

    Yes, the latest update (7.0.13) fixed the issue.

    Thank you!

    • This reply was modified 1 year, 11 months ago by Massimo.
Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Site Reviews inline CSS’ is closed to new replies.