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
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

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

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

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.