Archived topic
Product Review Summary
1 reply · Started by Simon on July 10, 2022
Hi, I'm going to create some kind of product review summary box using GenerateBlocks and just wanted to know if there was any function or way to add ratings bars without using heavy loading images like these?

Many thanks
Hi Simon,
You’ll need a third party plugin or custom code for that.
The other way which would be "lighter" is custom code. Here’s a score bar I found in codepen which may greatly assist you: https://codepen.io/Austin-kershaw/pen/OgMmgL
You Basically need a Headline Block, and a Container Block. The Headline Block gets the score, and the Container Block and its inner container can be the score bar. You'll need JS to get the score, and implement it in the score bar.
Hope this helps!