Jump to content

Remove image area on product page for only one store

Recommended Posts

Posted

I would like to remove the image area for only one of the stores. On desktop its doesn't show an empty area if I don't add images but on mobile there is an empty space. I would like to remove this space please. 

Thank you!

Screenshot 2024-10-09 at 23.11.45.png

  • 2 weeks later...
Posted

Hello again! I just another quick question concerning the image removal.

The code worked however there is still the image placeholder on the add to card page. See below:

Screenshot2024-10-22at14_01_38.thumb.png.f062688b7a938f2270c1719c98f65b17.png

How can I remove it from the add to cart page as well (only for the products without an image)

Thank you! 

Posted

@Katniss I don't believe you'd be able to hide it only for products without an image, as it appears you need to target the entire image wrapper - below code will remove this image from the cart page for ALL products (from my testing, anyway).

@tuanphan may be able to confirm if it's possible to limit to only items without a preview image set.

//HIDE CART PRODUCT IMAGE
.cart-row-img-wrapper {
  display: none;
}

 

Instruction: How to set a site-wide password

If this helped you, please like or mark my solution as answer so others can scroll to it quickly 👆

Cass Aggett is a Squarespace website designer for go-getting women – no matter what stage of business.

WEBSITEINSTAGRAM

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.