Jump to content

Changing the ¨Related Products¨ font size

Recommended Posts

Site URL: https://pelican-chiton-xwy4.squarespace.com/shop/fos-classic

Hello,

I can't figure  how to change the font-size on my ¨Related Products¨ title on my PDP's (called YOU MIGHT ALSO LIKE).
https://pelican-chiton-xwy4.squarespace.com/shop/fos-classic

I mean, I can do that by tweaking the CSS's from the Inspector but change doesn't take place on my site when adding it to "Design > Custom CSS".

Is there any way I could make this title behave as an h4 instead of and h2? Perhaps by adding some "code injection / html"? Or any other workaround?
I would like this title to be 18px font size.

Thanks!
Xavier

235467881_Screenshot2020-05-02at14_02_40.thumb.png.b91ec642288f67c130fa5a94473d9e25.png
 

Link to comment

Add to Home > Settings > Advanced > Code Injection > Header

<style>
  h2.ProductItem-related-label {
    font-size: 10px !important;
}
</style>

 

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.