Very strange! I had just turned on reviews on my WordPress WooCommerce website, and the star icons were broken: square boxes in the review form, and letters (“SSSSS”) where the star rating should be.
Why it happens
WooCommerce draws the stars with its own icon font (WooCommerce.woff2). The review form uses special icon characters, and the star rating uses the letters “S” and “s”. If the font can’t load, or another stylesheet replaces it, the browser shows those characters in a normal font, so you see squares and “SSSSS”. Common causes are a caching or optimization plugin that moves or combines CSS files (so the font URL breaks), fonts served from a CDN that blocks them, or a theme rule that sets another font-family with !important.
To check, open the page, press F12 and look at the Network tab: if WooCommerce.woff2 is red (404 or blocked), the font file isn’t loading; if it loads fine, another CSS rule is overriding the font.
The fix
Add the CSS below in Appearance → Customize → Additional CSS (or your child theme’s stylesheet). It loads WooCommerce’s own icon font from your site and forces it on the star icons, without changing which stars are filled or empty.
/* 1. Load WooCommerce's icon font from your own site */
@font-face {
font-family: 'WC-Stars';
src: url('/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff2') format('woff2'),
url('/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff') format('woff');
font-weight: normal;
font-style: normal;
font-display: block;
}
/* 2. Make sure no other font rule replaces it on the stars */
.woocommerce p.stars a::before,
.woocommerce .star-rating,
.woocommerce .star-rating::before,
.woocommerce .star-rating span::before {
font-family: 'WC-Stars', 'WooCommerce' !important;
}
If WordPress is installed in a subfolder or your plugins folder is somewhere else, adjust the two font paths. Then clear your cache and reload the page.
Update: the CSS in the original version of this post gave every star the same filled symbol, so all stars looked selected, and on current WooCommerce versions it no longer fixes the problem. WooCommerce already handles filled and empty stars itself, so the fix above only restores the font.

