Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
jenniferhillhouse

Sold Out badge in 7.1 similar to 7.0

Recommended Posts

Site URL: https://jenniferhillhouse2.squarespace.com/

Hi I'm upgrading my site from 7.0 to 7.1 and I'm trying to recreate the circle "Sold-Out" Status badge as a circle in the top right hand corner. Would anyone be able to help out with some code for how to do this? I've been searching around and it's sending me nuts.  Would love this to work in every instance the product is seen on the website. 

https://jenniferhillhouse2.squarespace.com/shop-now is the new site 

https://jenniferhillhouse.squarespace.com/pottery-products is the old site with how I would prefer the SOLD OUT status to look.

 

The code I have in there at the moment is seriously messed up I think. 

.product-mark.sold-out {
    background: #d97878 !important;
    color: white !important;
 font-family: URW-DIN-condensed;
   letter-spacing: 2px;
  font-weight: 400;
}

 

Screen Shot 2020-09-11 at 12.22.04 pm.png

Screen Shot 2020-09-11 at 12.22.46 pm.png

Share this post


Link to post

Add this to Custom CSS

.product-mark.sold-out {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-block;
    padding: 20px;
}

 


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post

Thanks so much!!! It's almost working @tuanphan!!

The only thing Sold out doesn't appear in Quick View... and is also way off to right in the detailed product description... Is there a way to fix there so it's in the top right hand corner in all instances?

Also - is there a way of making it a circle? 

Thanks so much for your help! 

Screen Shot 2020-09-14 at 1.48.22 pm.png

Screen Shot 2020-09-14 at 1.48.03 pm.png

Share this post


Link to post

Create an account or sign in to comment

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


×
×
  • Create New...