Jump to content

custom css to change a font on product detail page sold label

Recommended Posts

On my product detail page, when a product is sold, a "sold" label appears which is tied to the paragraph 2 font.  I wish to customize this font similarly to how I can customize the sold label on the product list page but it is not available on product detail currently (I worked with support).  Can someone tell me the correct code syntax for changing a font?  I am not a coder so I don't know it and just need to be able to copy the correct code into the custom css area of the page to change the font of the word "sold".  Thank you so much!!!!

I'm in a 7.1 Squarespace site just in case that knowledge is helpful.

Link to comment
  • Replies 1
  • Views 812
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hi, can you please share the url of your site?  If you could share your site url and let me know how you want to change the font, I might be able to give you a customized solution for your website.

Here's a solution I applied to one website recently: 

.product-mark.sold-out {
    font-size: 1.3rem !important;
    font-weight: 600 !important;
}

If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. 

Sam
Web Developer & Digital Designer

 Did you find my contribution helpful? Buy me a coffee?

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.