shastein Posted February 3, 2023 Share Posted February 3, 2023 (edited) 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! Edited February 3, 2023 by shastein Link to comment
Ziggy Posted February 3, 2023 Share Posted February 3, 2023 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 Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
Solution shastein Posted February 3, 2023 Author Solution Share Posted February 3, 2023 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; } tuanphan 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment