How can I hide variant images but keep swatch circles in Canopy theme?

Hi

I have just added color swatches to my shop on one product so far. Swatches are added with variant images and for this particular product I will have well over 20 different swatches. How do I hide the variant images and only keep the swatch circles? My theme is canopy. I was hoping for a custom css code I could add into the theme editor so it wont affect all other products.

this is my url

https://www.wondermade.com.au/products/scallop-splatter-colour-block-decal-several-colours?_pos=1&_sid=8e000068b&_ss=r

Hi @Anette_Goodare

This is Noah from PageFly - Shopify Page Builder App

Please add this code to your theme.liquid above the to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the


This code won’t affect other pages because this only works for this page.
Here’s how it works :

Hope this can help you solve the issue

Best regards,

Noah | PageFly

unfortunately that did not work

Hi @Anette_Goodare Please try this code instead