Hiding variant images from thumbnail on dawn theme

Viliwyth
Visitor
1 0 0

Hi everyone,

 

Variant pictures of my products are shown on the thumbnail. However, I want them to be shown only when selected. I looked through the code but couldn't figured out what to do.

Replies 2 (2)

made4Uo
Shopify Partner
3803 713 1114

Hi @Viliwyth

 

This can only be done with custom liquid and javascript code. Please check this demo store. Please check the video link  here

Volunteering to assist you!  Likes and Accept as Solution  is highly appreciated.✌
Coffee fuels my dedication. If helpful, a small Coffee Tip would be greatly appreciated.
Need EXPERIENCED Shopify developer without breaking the bank?
Hire us at Made4Uo.com for quick replies.
Stay in control and maintain your security by avoiding unnecessary store access!

graphicow3n
Shopify Partner
10 1 0

If you or someone else needs this still. Add this to the section-main-product.css file.

 

.product__media-item:not(:first-child) {
display: none;
}

 

The above code will hide all thumbnails except for the selected options thumbnail.