Jump to content

How do I reduce the space between the lines of text?

Recommended Posts

Posted

Hey!  How do I reduce the space between the lines of text? Screen shot in the attachment. Thank you!

Everything was fine until I added HTML <sup> Tag and styled text. Code below.

<p><span style="color: #282828; letter-spacing: 0.02em; font-size: 26px; font-weight: 400;"> Code <sup style="font-size: 10px; line-height: 0; vertical-align: 10px;">45</sup>

<p><span style="color: #282828; letter-spacing: 0.02em; font-size: 26px; font-weight: 400;"> General <sup style="font-size: 10px; line-height: 0; vertical-align: 10px;">25</sup>
 
<p><span style="color: #282828; letter-spacing: 0.02em; font-size: 26px; font-weight: 400;"> Terminology <sup style="font-size: 10px; line-height: 0; vertical-align: 10px;">30</sup>
 

 

B7E72F73-B925-4DDA-A901-4E09679B390A_1_201_a.jpeg

  • Replies 6
  • Views 2.9k
  • Created
  • Last Reply
Posted
26 minutes ago, jkristobans said:

Hey!  How do I reduce the space between the lines of text? Screen shot in the attachment. Thank you!

Everything was fine until I added HTML <sup> Tag and styled text. Code below.

<p><span style="color: #282828; letter-spacing: 0.02em; font-size: 26px; font-weight: 400;"> Code <sup style="font-size: 10px; line-height: 0; vertical-align: 10px;">45</sup>

<p><span style="color: #282828; letter-spacing: 0.02em; font-size: 26px; font-weight: 400;"> General <sup style="font-size: 10px; line-height: 0; vertical-align: 10px;">25</sup>
 
<p><span style="color: #282828; letter-spacing: 0.02em; font-size: 26px; font-weight: 400;"> Terminology <sup style="font-size: 10px; line-height: 0; vertical-align: 10px;">30</sup>
 

 

B7E72F73-B925-4DDA-A901-4E09679B390A_1_201_a.jpeg

May you send the current url of the page you are having issues

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

Posted
41 minutes ago, rwp said:

 <p style="line-height:0;">

 

Hey. Thank you for reply. It doesnt work. Well it works but only to make bigger space between lines. Even when it's on zero it still has the same gap.

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.