Skip Navigation

Custom Icons of Star Rating block not displaying on front end

Open

Topic Tags: Toolset Blocks

Symptoms

The Star Rating block includes the option to display custom icons (e.g. hearts) instead of the default dash-icon stars.

These display correctly in the back end, but are missing on the front end.

Currently it is only possible to display star icons.

Workaround

One thought on Custom Icons of Star Rating block not displaying on front end

  • It looks like CSS code is broken. Adding this to your style.css file will cause it to render:

    .tb-rating__star::before {
    content: ‘★’; /* Unicode star character */
    color: gold; /* Optional: Set the color of the star */
    }

Leave
a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>