• Resolved b3ndoyle

    (@b3ndoyle)


    Hey guys,

    Is it possible to change the “5 out of 5 stars (based on 6 reviews)” on the rating summary block to just the number of reviews in brackets, like (6)?

    Thanks

    Ben

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Gemini Labs

    (@geminilabs)

    Is it possible to change the “5 out of 5 stars (based on 6 reviews)” on the rating summary block to just the number of reviews in brackets, like (6)?

    There are two ways to do this:

    1) Change it globally for all Rating Summary blocks by changing the text on the Settings > Strings page.

    2) Change it only for the specific Rating Summary by using the shortcode instead of the block as shown on the Shortcodes documentation page:

    Thread Starter b3ndoyle

    (@b3ndoyle)

    Excellent, thanks. Is there a way to display it all on the same line? Thanks

    Plugin Author Gemini Labs

    (@geminilabs)

    Thread Starter b3ndoyle

    (@b3ndoyle)

    Hi, I’ve added the class to the block as per the link you suggested:

    And added the CSS:

    However, the number of reviews (in the brackets) hasn’t changed.

    What am I doing wrong?

    Kind regards,

    Ben

    Plugin Author Gemini Labs

    (@geminilabs)

    Ah, try this CSS instead:

    .glsr-summary.inline-summary {
        max-width: unset;
    }
    .glsr-summary.inline-summary .glsr-summary-text {
        flex-basis: 0%;
    }
    Thread Starter b3ndoyle

    (@b3ndoyle)

    That’s perfect, thanks!

    • This reply was modified 1 year, 7 months ago by b3ndoyle.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to change the wording and alignment on rating summary’ is closed to new replies.