Home Forums Basel support forum Swatches on product archives – Text only as no image or colors needed Reply To: Swatches on product archives – Text only as no image or colors needed

#837

Artem Temos
Keymaster

So you need to replace the file inc/woocommerce.php with this one https://drive.google.com/open?id=0B4HduPLdnq5UbUdPRFBFN1RVWUk

And also add the following code snippet to your Custom CSS in Theme Settings

.swatches-on-grid .swatch-on-grid {
    font-size:0px;
}
.swatches-on-grid .text-only {
    font-size: 14px;
    font-weight: bold;
    width: auto;
    color: #212121;
    min-width: 15px;
    text-align: center;
}

Also note that this wont work if you create your variations setting “Any size” value for it. You have to set a variation for each attribute value.