Jump to content

Hiding Product Item Gallery in a specific collection in 7.1

Recommended Posts

Posted

I'm trying to hide the Product Item Gallery for items in a specific store collection. 

I've found the collection ID and have tried: 

 #collection-60cd14ac0d607355f16bf708 .ProductItem-gallery {
    display: none !important;
}

It seems like this should work, but I'm obviously missing something. Any insight would be much appreciated. 

Thanks!

  • Replies 4
  • Views 335
  • Created
  • Last Reply
Posted
On 6/24/2021 at 11:43 PM, dezziddine said:

Sure thing. The collection is on https://tmt.squarespace.com/artists-2

PW: notyet

on the individual artists pages, I need to hide the gallery and also the price and Add to Cart button.
I know the selectors to use for these, but can't seem to make them work on just this collection...

Add to Artist 1 page Header

<style>
  .ProductItem-details .sqs-add-to-cart-button-wrapper {
    display: none;
}
  figure.ProductItem-gallery {
    display: none;
}
</style>

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.