FROM CACHE - en_header

Hide first gallery image on the product page (IRA Theme)

Solved
Daniel_Ward
Excursionist
32 0 6

Hey!

I'm trying to hide the first image in my product gallery on the product page, but still have it display on the collection page etc. I've tried a few things I've seen on here, but none seem to work - Maybe because I'm using the IRA "grid" product page layout? 

Can anyone help? 

Thanks so much!

 

Accepted Solution (1)

Accepted Solutions
JHKCreate
Shopify Partner
3467 624 879

This is an accepted solution.

Hi @Daniel_Ward 

On this page you mean to remove the first image here? Scandinavian Style Coaster and Trivet Set – Geometrico (shopifypreview.com):

If yes, add the following code to index.css:

#shopify-section-product--static > section > div.product__content > div.product__media-container > div > div.product__media-item.initial {
    display: none;
}

 
Cheers!

Did we solve your issue? Like & Mark As Solution to help the community
Should you need any direct help: contact@jhkcreate.com

Learn more about us: jhkcreate.com

View solution in original post

Replies 4 (4)
JHKCreate
Shopify Partner
3467 624 879

Hi @Daniel_Ward 

Would you mind sharing your store's URL so we can assist on that? Cheers!

Did we solve your issue? Like & Mark As Solution to help the community
Should you need any direct help: contact@jhkcreate.com

Learn more about us: jhkcreate.com
Daniel_Ward
Excursionist
32 0 6

Hi @JHKCreate 

Sure, the theme isn't live, but the preview is here: https://ejk11img7wnind0d-15098830.shopifypreview.com

Thanks for looking at it! 

JHKCreate
Shopify Partner
3467 624 879

This is an accepted solution.

Hi @Daniel_Ward 

On this page you mean to remove the first image here? Scandinavian Style Coaster and Trivet Set – Geometrico (shopifypreview.com):

If yes, add the following code to index.css:

#shopify-section-product--static > section > div.product__content > div.product__media-container > div > div.product__media-item.initial {
    display: none;
}

 
Cheers!

Did we solve your issue? Like & Mark As Solution to help the community
Should you need any direct help: contact@jhkcreate.com

Learn more about us: jhkcreate.com
Daniel_Ward
Excursionist
32 0 6

That worked perfectly! Thank you so much!