CSS code - hiding image on shopify Dawn theme

CSS code - hiding image on shopify Dawn theme

MKM786
Visitor
1 0 1

Is someone able to help. 

I have set alterations as products (shorten trouser length etc.), I would like to remove the "image" from the page as it's blank. I don't know how to do it. 

I am using the Dawn theme. 

 

I have read that I may need to use CSS code however I don't know what to remove or add or where to look in the code. 

If someone could provide some guidance that would be amazing. 

 

Thanks 

Reply 1 (1)

isadora99
Tourist
3 0 1

Sure, I can help with that! You can use CSS to hide the image element for products that don't have an image. Here's a simple CSS code snippet you can add to your Dawn theme:

 

.product__image {
display: none;
}

 

Just add this CSS to your theme's custom CSS section, and it should hide the image for products where the image is blank. Let me know if you need further assistance!