poscher Posted September 14 Share Posted September 14 Hi, I would like my blog masonry page to display 2 columns instead of stacked posts in mobile view. There are a few solutions on the web to find, but none of them seem to fix it accordingly. Either images are weirdly cropped or there are big white spaces inbetween post entries. I am calling on all the pros here in the forum and appreciate your efforts. This is the code I have been using so far: @media screen and (max-width:640px) { .blog-masonry .entry { width: 48% !important; float: left !important; transform: unset !important; position: initial !important; height: auto !important; } .blog-masonry .blog-image-wrapper img{ width: 100% !important; object-fit: contain !important; } .blog-masonry .entry:nth-child(odd) { margin-right: 4% } } Link to comment
Ziggy Posted September 14 Share Posted September 14 Can you share your website URL and this page? Basic grid blog layout would be easier to adjust than the masonry. poscher 1 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) ✨ Spark Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
poscher Posted September 25 Author Share Posted September 25 On 9/14/2023 at 9:44 AM, Ziggy said: Can you share your website URL and this page? Basic grid blog layout would be easier to adjust than the masonry. Hi Ziggy, thanks for your help. I found a workaround so all good Link to comment
nahlah Posted October 6 Share Posted October 6 On 9/14/2023 at 3:44 AM, Ziggy said: Can you share your website URL and this page? Basic grid blog layout would be easier to adjust than the masonry. I am trying to find a way to have my blog display 2 columns on mobile as well. I also have a masonry blog. My site is https://faceoflove.co/diary Link to comment
Ziggy Posted October 6 Share Posted October 6 8 minutes ago, nahlah said: I am trying to find a way to have my blog display 2 columns on mobile as well. I also have a masonry blog. My site is https://faceoflove.co/diary You can try this solution, but masonry layouts aren't as easy to control as grid layouts. Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) ✨ Spark Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
nahlah Posted October 6 Share Posted October 6 I used the code from this link but it didn't split the blog into 2 rows, the code from this page split it but it was not very neat 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