Jump to content

How to reduce huge spacing between code blocks

Recommended Posts

Site URL: https://suzan-terzian-draft.squarespace.com/homepage-content

Hi everyone,

Having some trouble with the spacing between code blocks for my client's side below:

https://suzan-terzian-draft.squarespace.com/homepage-content
 

If you scroll down to the 2nd image block, you'll notice there are 3 different sets of additional text headings which i created using code blocks (h4, h5 & h6 headings), entitled "4th type of text heading...", "5th type text heading..." etc.

But you'll also notice there's a huge spacing between these 3 code blocks as well as the "Learn More" button at the bottom.

How do I reduce & adjust this huge spacing between these 3 separate code blocks and the "Learn More" button?

Template used is Brine & version is Squarespace 7.0

 

 

 

 

Link to comment
  • Replies 2
  • Created
  • Last Reply

Add to Home > Design > Custom CSS

.code-block h4, .code-block h5, .code-block h6 {
    margin-block-start: 0;
    margin-block-end: 0;
}

 

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.