• Resolved Ahir Hemant

    (@hemant-ahir)


    Hi
    Thank you for your great plugin.
    We have 500+ posts and rating working fine but suppose i am logged in and i gave 5 star to one post. Now when second user can do login and when they visit same post then he can see filled 5 star but it should be show empty star. can you please advice. so each new user can see empty star and once they give 5 star then they can see filled 5 star that is fine. I hope you get the idea.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support gVectors Support

    (@gvectorssupport)

    Hi Ahir Hemant,

    You can use the following CSS code:

    #wpd-post-rating.wpd-not-rated > .wpd-rating-wrap .wpd-rating-stars svg .wpd-active {
        fill: #DDDDDD;
    }

    Put the code in the Top Admin Bar > Customize > Additional CSS > “Additional CSS” textarea, save it, delete all caches and check again.

    Please don’t forget to press Ctrl+F5 (twice) on the frontend before checking.

    Thread Starter Ahir Hemant

    (@hemant-ahir)

    Thanks, it’s working fine but if previous user did 4.5 star then half white star showing and fill: #DDDDDD; not working for half star. its showing half fill: #DDDDDD; and half white

    Plugin Support gVectors Support

    (@gvectorssupport)

    Ahir Hemant,

    Use the following codes as well:

    #wpd-post-rating .wpd-rating-wrap .wpd-rate-starts {
        display: flex;
    }
    #wpd-post-rating.wpd-not-rated .wpd-rating-wrap .wpd-rating-stars {
        display: none;
    }
    #wpd-post-rating .wpd-rating-wrap .wpd-rating-stars{
       display:flex;
    }
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Need empty star’ is closed to new replies.