/** * Star ratings */ body[class*="woocommerce"] #page { // adding #page here to override default wc styles without !important span.onsale { @extend %onsale-style; } }