Jump to content

reduce line height space and font size on mobile view

Recommended Posts

Hi there, i am just setting up a home page and I like the type lockup on the desktop view but when viewed on mobile the headline is too large and has too much leading between the words (space between line heights)

I put some custom coding on the desktop view to tighten this particular headline style 

.header-title-nav-wrapper {
    align-items: baseline;
}
#block-5d8be44faf24f9d73db2
h1 {line-height: 75px;}
.header-title-nav-wrapper {
    align-items: baseline;
}

What coding can I use to tailor the mobile view headline to make it a tighter fit so it's not obstructed by the image. 

 

Screen Shot 2021-11-20 at 4.31.24 PM.png

Screen Shot 2021-11-20 at 4.31.31 PM.png

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

9 hours ago, design123 said:

Hi there, i am just setting up a home page and I like the type lockup on the desktop view but when viewed on mobile the headline is too large and has too much leading between the words (space between line heights)

I put some custom coding on the desktop view to tighten this particular headline style 

.header-title-nav-wrapper {
    align-items: baseline;
}
#block-5d8be44faf24f9d73db2
h1 {line-height: 75px;}
.header-title-nav-wrapper {
    align-items: baseline;
}

What coding can I use to tailor the mobile view headline to make it a tighter fit so it's not obstructed by the image. 

 

Screen Shot 2021-11-20 at 4.31.24 PM.png

Screen Shot 2021-11-20 at 4.31.31 PM.png

Hi @design123,

Can you share your site with the protected password to check your issue?

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.