Jump to content

Change the color and margins of 'Sale' tag + color of number price

Go to solution Solved by tuanphan,

Recommended Posts

 

A few questions:

1. Can I change the color of the 'Sale' tags? It is currently black and I want it to be a soft red/pink.
2. How to change olor of the 'sale' typeface from white to dark grey?
3. Give 'SALE' word more padding inside the ribbon?
3. How to change the color of the sale price underneath the item photo to be red, so the customer can see the discount. 

I am using SQSP 7.0. I used this css code: 

#productList .product .product-mark, #productDetails .product-mark  {
  background: #E77679 !important;
  padding: 15px;
}

but it's not working now. Any help much appreciated

 

 

Edited by 2Eyeballs
Link to comment
  • Replies 1
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Solution

#1. #2, #3. You can add this to Website > Page > Website Tools > Custom CSS

.product-mark.sale {
    background-color: pink !important;
    padding-top: 15px !important;
    color: darkgrey !important;
}

#4. Use this CSS code

.product-price {
    color: red !important;
}

 

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.