Neutie Posted May 29 Posted May 29 Hi, I have two questions regarding this page: https://mackerel-corn-g3dd.squarespace.com/ogen-portfolio (and also the wenkbrauwen page and ogen page, same format). I have used a Grid: simple for the portfolio. 1) On desktop, you can see 3 columns. On mobile, it shows 2 columns - but this is very small. Is it possible to force mobile to show only 1 column instead of 2? 2) Is it possible to add more space on the left and right side of the portfolio when viewing on desktop? I have tried adjusting the full / inset settings, but this makes things way too small. Thank you! 🙂
Ziggy Posted May 29 Posted May 29 Use this in Custom CSS: @media only screen and (max-width:767px) { .gallery-grid--layout-grid .gallery-grid-wrapper { display: grid; grid-template-columns: 1fr !important; padding: 0vw 6vw !important; } } Neutie 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! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee?
Neutie Posted May 30 Author Posted May 30 Perfect, this solves question 1 - on mobile. Thank you! Do you also know how to increase padding on the left and right side of the portfolio, when viewing on desktop?
tuanphan Posted June 1 Posted June 1 On 5/30/2024 at 8:27 PM, Neutie said: Perfect, this solves question 1 - on mobile. Thank you! Do you also know how to increase padding on the left and right side of the portfolio, when viewing on desktop? add this code under @media screen and (min-width:768px) { .gallery-grid--layout-grid .gallery-grid-wrapper { padding: 0vw 12vw !important; } } 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