Jump to content

Hiding Product Item Gallery in a specific collection in 7.1

Recommended Posts

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!

Edited by dezziddine
typo
Link to comment
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!)

Link to comment

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.