Jump to content

Changing text line height on mobile only 7.1

Recommended Posts

Site URL: https://accordion-pear-2lep.squarespace.com/

Hello,

 

I've reduced line height for my H4 text so it spaces well on desktop, but on mobile the text is overlapping itself.  ("Strength in unity" is H4)

Looking for a code to change the line height for only H4 only on mobile. 

Any ideas? 

https://accordion-pear-2lep.squarespace.com/

 

Password is: Davidisawesome#1

Edited by ipratt
Link to comment
  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

20 hours ago, ipratt said:

Sorry about that -- Password is: Davidisawesome#1

Add to Home > Design > Custom CSS

@media screen and (max-width:767px) {
h4 {
    line-height: 1em;
}
}

 

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

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.