Jump to content

How to change font size of the price in related products

Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Change size of "Other Item" or change size of Other Item Product Titles?

If Other item, add this to Design > Custom CSS
 

h2.ProductItem-related-label {
    font-size: 18px;
}

If product titles, use this CSS

h2.ProductItem-related-label + div .grid-title {
    font-size: 30px;
}

 

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
  • 2 weeks later...
On 4/13/2023 at 5:50 PM, elf said:

Hi! @tuanphan thanks for your reply!

It's actually the price that's too big - "$395.00" and "$355.00"

Is there code for that?

Use this code

div.ProductItem-relatedProducts .product-price {
    font-size: 16px !important;
}

 

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

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.