Jump to content

How to reduce space between different text styles in one text block

Recommended Posts

Hello all, 

I'd like to change text spacing for only specific text blocks and not the entire website.
I found a thread from 2017 where the recommendation was for 

p {
 margin-top: 0;
}

When I add it with the block ID it changed the entire page (and assuming the entire site).  
I could be putting it in wrong but didn't know if there was another way to add it? 

 

Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Try

#enter-text-block-id p {
 margin-top: 0;
}

Use this tool to find text block id https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff?hl=en

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.