Jump to content

Change sold button to a custom JPEG image (Squarespace 7.1)

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images


First find this code & change background to background-color

.view-list .product-mark.sold-out {
    background: #000 !important;
    color: #fff !important;
    font-family: FUTURACUSTOM;
    letter-spacing: 0px;
    line-height: 0px;
    font-size: 16px;
    position: absolute;
    transform: rotate(
    top: 10px;
    right: 10px;
    display: center;
    padding: 20px;
    border-radius: 100%;
    width: 20px;
    height: 20px;
    justify-content: center;
    align-items: center;
    text-align: center;
    display: flex;

Next, add this code

/* Sold out badge image */
.product-mark.sold-out {
    background-image: url(https://cdn.pixabay.com/photo/2021/01/04/12/07/cat-5887341__340.jpg) !important;
    background-size: cover;
    color: transparent !important;
    background-repeat: no-repeat;


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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • Susana_SQSP changed the title to Change sold button to a custom JPEG image (Squarespace 7.1)
  • 2 weeks later...

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.