jgergis Posted August 10, 2022 Posted August 10, 2022 (edited) 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? Edited August 10, 2022 by jgergis
tuanphan Posted August 11, 2022 Posted August 11, 2022 Add to Design > Custom CSS /* Mobile space */ @media screen and (max-width:767px) { .fe-62f3283947092658d5f181e1 { grid-template-rows: repeat(30,minmax(24px, auto)) !Important; } } jgergis 1 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!)
jgergis Posted August 11, 2022 Author Posted August 11, 2022 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?
tuanphan Posted August 14, 2022 Posted August 14, 2022 Actually with the above problem, I think you can click Mobile icon on top right >> Adjust section height. It will not affect the desktop. 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment