Jump to content

Adjusting line height for formatted text in code block

Go to solution Solved by tuanphan,

Recommended Posts

Hi!

I'm adding a custom code block simply to override the color for my Heading 2, but when I do that, the block adds a lot of spacing above and below the text as compared to simple text block with Heading 2 text. How can I reduce this padding?

See the screenshot below:

image.thumb.png.060104dcd1a71abefab3d866eb3b552d.png

My code is simple:

<p><h2><font color="4a4a4a">Sample Text</font color="4a4a4a"></h2></p>
 

Any ideas would be appreciated!

Thanks,

Steve

Link to comment
  • Replies 2
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • 2 weeks later...

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.