Jump to content

CSS to change the line height for a specific paragraph style site wide.

Go to solution Solved by Ziggy,

Recommended Posts

Hi there,

I am looking for code that will allow me to customize the line height to a specific paragraph style.  My site paragraph line height is set to 1.0em, however, for my paragraph (style) 3 I would like the line height to be 0.3em.

 

I appreciate any guidance!

Thank you so much in advance,

Katie

Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Solution

Use this Custom CSS:

// Paragraph 3
.sqsrte-small {
   line-height:0.3em;
}

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment
2 minutes ago, bykatieboyle said:

Yes!! This worked 🙂

Thank you, Ziggy!!

No problem!

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
Spark Plugin (Referral link) 

 Did I help? 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.