Jump to content

Customise Product Block title and price

Go to solution Solved by tuanphan,

Recommended Posts

Hi,

I have 3 questions:

1) I would like to customise the title on a product block title (font size, colour, line height) - see red arrow on image https://www.integral8.com/retreat-oct2023-booking

2) I would like to customise the price on a product block (font size, colour) - see green arrow on image https://www.integral8.com/retreat-oct2023-booking

3) I would like to change the font title and price to Barlow Light, which I am using across my whole site on the product page (see image 2) https://www.integral8.com/store/p/an-integral-art-of-living-retreat-rl2xz

I've tried various codes that I've found in threads but nothing has worked yet,

Thanks

Laura 

titles.jpg

Screenshot 2023-07-30 at 08.42.48.png

Edited by dotandpeg
Forgot to add url
Link to comment
  • Replies 1
  • Views 620
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • Solution

#1. Add to Design > Custom CSS

/* Product block title */
.product-block .productDetails .product-title {
    font-size: 2.1em !important;
    color: #f1f !important;
    line-height: 19px !important;
}

#2. Use this CSS

/* product block price */
.product-block .productDetails .product-price {
    font-size: 0.5em !important;
    color: red !important;
}

#3. Use this CSS

/* product block title price */
.product-block .productDetails .product-title, .product-block .product-price {
    font-family: 'Barlow Light' !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.