Support » Plugin: Yasr - Yet Another Stars Rating » Remove everything except for the stars?

  • Resolved niclasto

    (@niclasto)


    Hello,

    can I remove the whole text next to the stars which appears after the vistors has rated ( for example – [Total: 4861 Average: 4.1])?

    All I want to have shown is the stars because actually you can get the average rating by the stars as well.

    Many thanks

    Regards
    Niklas

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author dudo

    (@dudo)

    Hi!

    Add this code into YASR setting’s -> Aspect & Styles -> Custom CSS Styles

    .yasr-total-average-container{
    display: none;
    }

    Best,
    Dario

    Thread Starter niclasto

    (@niclasto)

    Hey,

    unfortunately it does not work. Total and Average still appear after voting.
    Here is a link to a test site: https://prudentwater.com/rate/

    Might you have some more help?

    Regards,

    Niklas

    Plugin Author dudo

    (@dudo)

    Delete your browser cache (or test in incognito mode), it is working fine for me, see screenshot https://snipboard.io/Rfv4zj.jpg

    Thread Starter niclasto

    (@niclasto)

    I guess you got me wrong, sorry. In your example, I don’t see the text neither but once I vote it appears together with “Rating Saved”. When I refresh the site, it does not appear anymore but neither do I want to have the text after rating. Is this possible?

    Here is a screenshot:
    https://prudentwater.com/wp-content/uploads/2020/10/Scrrenshot-rate.png

    I want to have removed:
    [Gesamt: 1 Durchschnitt: 4/5 ]

    Is this possible?

    Plugin Author dudo

    (@dudo)

    Ah ok, you can add this in the above field:

    .yasr-visitor-votes-after-stars {
    	display: none;
    }

    This will remove everything except the stars

    Thread Starter niclasto

    (@niclasto)

    Many thanks indeed!!
    One last question: Is it also possible to show only the average result after the visitor voted written exclusively in English and not German?

    Regards,

    Niklas

    Thread Starter niclasto

    (@niclasto)

    Correction: without showing the term “average” but just the average result like 4/5

    Regards

    Plugin Author dudo

    (@dudo)

    You can do this in the settings (Insert custom text to show before / after stars -> Custom text to display AFTER Visitor Rating) but with the prior css rule you’ve hidden that block; you should remove that rule and add this one:

    #yasr-vote-saved {
    display: none;
    
Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.