Jump to content

Buggy behaviour for mobile section height

Recommended Posts

Site URL: https://www.joellegergis.com/

When viewed on mobile, the first section on the home page - which contains a simple image and a block of text - is way too tall.

No matter what I do (changing font style, etc.), the section is always too tall on a real device (iPhone), but looks correct in the Squarespace preview.

How do I get it to behave properly?

2022-08-10_15-17.thumb.png.953697c0d5093b9ad5cbd43e9ac8191d.png

Edited by jgergis
Link to comment
2 hours ago, tuanphan said:

Add to Design > Custom CSS

/* Mobile space */
@media screen and (max-width:767px) {
.fe-62f3283947092658d5f181e1 {
    grid-template-rows: repeat(30,minmax(24px, auto)) !Important;
}
}

 

Thanks, I appreciate the custom snippet. It seems to work nicely 👍

I didn't think what I was trying to do was that complicated (image + text) on mobile.

Just out of interest, was this issue to do with the particular font styles in my design. Or is it just how Squarespace "fluid engine" works?

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.