Jump to content

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

Recommended Posts

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

Link to comment
  • Replies 6
  • Views 2.5k
  • Created
  • Last Reply
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 (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

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.