Jump to content

Jasper Jin - change item height mobile

Go to solution Solved by shastein,

Recommended Posts

Hello. How do I change the item height for the mobile version of Jasper Jin. I'm happy with the desktop version but my images are cutting off on mobile. First image is how it looks now. Second image is how I would like it to look. Thanks in advance!

IMG_7321.PNG

IMG_7322.PNG

Edited by shastein
Link to comment

Try this solution to change the section height and prevent cropping:

https://www.will-myers.com/articles/prevent-background-images-from-cropping-in-squarespace-71

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 

  Did I help? Buy me a coffee?

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

Link to comment
  • Solution

Thanks Ziggy. It looks like that link might solve for inner pages but not the home page. My friend wrote this CSS which fixed the issue for anyone else having this problem...

.index-item-height-extra-large:not(.index-item-width-grid) .index-item {
      height: auto;
    aspect-ratio: 3 / 2;
}

img.js-index-item-image {
    width: 100% !important;
    height: auto !important;
}

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.