Variant images not visible on mobile

I am using the Supply theme. The variant images for my products are visible when I view the desktop version of the site but not on the mobile version, they just appear as small grey circles.

I’ve uploaded some screenshots for reference.

Does anyone have any suggestions as to why this would be and how to fix the issue please (or stop them from resizing altogether).

I’m guessing that there must me a minimum size setting somewhere in the code

Thanks

Hello there @craftywool Give this solution a try and let me know if it works for you

in theme assets, find script.product.js file and
Replace:
var id = img.getAttribute(‘data-id’);
With:
var id = t.getAttribute(‘data-image-id’);

This code will be near Line: 1283 in that file

Hi,

thanks for the quick response. I can’t seem to find the file script.product.js Am I looking in the wrong place?