Remove First Image (Featured Image) from Product Page

New Member
2 0 0

I want to remove the first image, featured image, from product page or at least hide it. But I want to keep the first image for the collection page and home page. I have tried code scripts such as 

 

{% for image in product.images offset:1 %} then the code on my template for images {% endfor %}

 

with no results. Even deleting the "then the code on my template for images" does not work. I am entering this code in the Product.Liquid tab under Templates. The theme I am using is Brooklyn. 

0 Likes
Highlighted
Shopify Expert
278 14 54

Hi,

 

Go To Theme. Liquid or Timber.Liquid 

and paste this code bottom of the file 

 

.product-single__photos .product-single__photo--flex-wrapper:first-child {
display: none;
}

 

Sudipta 
MS Web Designer | Task4Store
20,000+ Tasks Completed | 1000+ Happy Clients

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution

0 Likes
Highlighted
New Member
2 0 0

That did not resolve my issue unfortunately, another option I could try is only showing the color variant photos that are selected rather than all of the variants?

0 Likes