Jump to content

Code No Longer Working - Hiding Sold Out items

Go to solution Solved by creedon,

Recommended Posts

Dear All

I use the following code to hide sold out items and this has suddenly stopped working on my site www.halexhorns.com

div.sold-out {
    display: none;

I assume SquareSpace have applied an update that has stop this from working correctly. Any help with suggestions to rectifying and get it working again would be much appreciated. Thanks J



Link to comment
  • Solution

This is a CSS specificity issue.

Try the following.

.products.collection-content-wrapper .grid-item.sold-out {

  display : none;

Let us know how it goes.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment

That's works, at the sold out products has been hidden



BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. 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.