whjarrold Posted October 17, 2022 Share Posted October 17, 2022 Site URL: https://bell-chipmunk-yhlj.squarespace.com/home-draft-copy Hello, I a looking to create a full width, 3 column block that my images can sit inside and preserve there aspect ratio when resizing. I tried stretching out the image blocks to each side however when I resize the page only the middle block retains the same aspect ratio and the others get squished inwards. Link to comment
Solution Ziggy Posted October 17, 2022 Solution Share Posted October 17, 2022 Dragging to the edge of the screen will mean that the outside images take up 1/3 of the max section width, plus the margin, which varies based on the browser width. If you want this full width you have a few options, you could use an auto-layout list section with a slightly different design:https://support.squarespace.com/hc/en-us/articles/360057763852-Auto-layouts Or you could make the section grid full width with a piece of code:https://www.launchthedamnthing.com/blog/6-tips-for-fluid-engine Try this Custom CSS: section[data-section-id="634d6b32eed6b431d897a435"] { .fluid-engine { --sqs-site-max-width:100vw; --sqs-site-gutter:0vw; } } Let me know if that helped! tuanphan 1 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment