Jump to content

Trouble with different header/font sizes

Go to solution Solved by Lesum,

Recommended Posts

Hi there! 

I'm trying to have multiple sized paragraph fonts in 1 text block. The only problem is that there's too large of a gap between paragraph 2 and 3 headers. I followed the instructions here: https://forum.squarespace.com/topic/80891-how-to-reduce-space-between-different-text-styles-in-same-text-block/

But they didn't work. I'm trying to reduce the size between these 'THE STUFF' and the bullet points. Please help!!

image.png

Link to comment
  • Replies 5
  • Views 406
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

@maxvu You can add the following code snippets:

section[data-section-id="66c129079f9b4134c62dc4e5"] p:not(.sqsrte-small):first-of-type {
    margin: 0 !important; 
}

section[data-section-id="66c129079f9b4134c62dc4e5"] .sqsrte-small:nth-of-type(2) {
    margin-top: .4em !important;
    margin-bottom: 0 !important;
}

section[data-section-id="66c129079f9b4134c62dc4e5"] .sqsrte-small:not(li .sqsrte-small):nth-last-of-type(3) {
    margin-top: 0 !important;
    margin-bottom: .4em !important;
}

section[data-section-id="66c129079f9b4134c62dc4e5"] p:not(.sqsrte-small):nth-last-of-type(2) {
    margin-top: 0 !important; 
}

 

If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. 

Sam
Web Developer & Digital Designer

 Did you find my contribution helpful? 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.