Hide First Image On Product Page (Dawn Theme)

Hi,

Is there anyway to hide the main media item (the first product image in shopify) only on the product page.
So, the main media item will show on the home page & collection page, but will be hidden on the product page. The product page will only show the second image onwards from the Shopify backend.

Would someone be able to assist with this issue?

I am currently using the Dawn Theme 2.3.0

https://globalvirginhair.com/

Thanks,

GVH

1 Like

@GVH

sorry for that issue but how can i check i can’t see multi product image any product

1 Like

Hi @KetanKumar ,

Thanks for responding.

There are multiple product images on many of the items. The ones that only currently have one image, I will upload another onto.

Is this something you can help me with?

1 Like

@GVH

yes, please send product url

Hi @KetanKumar

here is one https://globalvirginhair.com/products/3-bundle-collection-deepwave , but it would be for all the products on the website.

1 Like

@GVH

thanks for url, can you please try this code

  1. Go to Online Store->Theme->Edit code
  2. Asset->/section-main-product.css ->paste below code at the bottom of the file.
.product__media-item:first-child {display: none;}
2 Likes

Thanks! @KetanKumar

1 Like

@GVH

its my pleasure to help us

Is there a way to only show the first image and not the others?

1 Like

@AndreasFandango

yes, please share store url so i will check and update

1 Like

https://rumags.myshopify.com/

password 1234

want to remove the thumbnail under the photo or just remove all product photos except the first one.

1 Like

@AndreasFandango

great thanks for share us yes, please add this code

  1. Go to Online Store->Theme->Edit code
  2. Asset->/base.css ->paste below code at the bottom of the file.
.product--small .thumbnail-list.slider--tablet-up .thumbnail-list__item.slider__slide:first-child {
    display: none !important; 
}
1 Like

Thanks @KetanKumar . The code worked when I removed :first-child, but the arrows is still there. Is it easier if I change from thumbnail carousel to stacked?

1 Like

@AndreasFandango

yes, please

1 Like

Thanks @KetanKumar . I have now changed to stacked. Do you have a code for me boss?

Do you have a new code for me after stacking the images instead of carousel thumbnail?

1 Like

@AndreasFandango

oh sorry for late here yes its work

Hi Ketan,

I have craft theme and this is not working. Could you please help me?

1 Like

@heirlooms

can you please share store url so i will check and let you know

sure, it is heir-looms.myshopify.com