Jump to content

Changing a font's line height on mobile site

Recommended Posts

Site URL: https://guytp.squarespace.com/

Hi all,

I'm in need of some help with the mobile site of my website - https://guytp.squarespace.com/.

I've just finished creating the desktop site but the website doesn't transfer well to the mobile site. 2 things I need help with:

1. The title 'Professional Freelance Writer' has a reduced line height on the desktop version (to create good spacing), however I need to raise the line height on the mobile site for it to look right (I believe this should be quite simple but coding is not my speciality).

2. The drawn images on the homepage of the paper, quill, and books are spaced unusually on the mobile site. I would either need to reduce the size of the images or edit the spacing of the images, any ideas? (I'm unsure how to do either of these without changing the desktop site).

Your help would be much appreciated, as I'm so close to having this site finished!

Thanks

Guy

Link to comment
  • Replies 2
  • Views 1.9k
  • Created
  • Last Reply

Q1. Add to Home > Design > Custom CSS

@media screen and (max-width:767px) {
div#block-becc5843651239c02128 h2 {
    line-height: 40px;
}
}

Q2. To reduce images, add to Home > Design > Custom CSS

@media screen and (max-width:767px) {
div#page-section-5e83283058e23d621833a640 .span-4, div#page-section-5e83283058e23d621833a640 .span-5 {
    width: 50% !important;
    margin: 0 auto;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (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.