AndrewMarston Posted September 3, 2020 Share Posted September 3, 2020 Site URL: https://www.pixelsandpaths.com/ Hello, I've customized the CSS to show a summary > grid blog post block as 2 columns for mobile, but there's a window size range where 3 posts are displayed with the 4th by itself below. For some reason, changing the media query pixel value only messes up the situation further. I've linked the work-in-progress site at the top of this post. Can anyone figure out how to make it display either 4 across or 2x2 stacked without the 3 on the top, 1 on the bottom in between? Here's the CSS I'm currently using. @media only screen and (max-width: 631px) {.sqs-block-summary-v2 .summary-item { clear: none !important; width: 50% !important; padding: 10px !important; }} Thanks so much for an insight you can offer. Link to comment
tuanphan Posted September 3, 2020 Share Posted September 3, 2020 Edit your code to @media only screen and (max-width: 640px) { .sqs-block-summary-v2 .summary-item { clear: none !important; width: 50% !important; padding: 10px !important; } .sqs-block-summary-v2 .summary-item:nth-child(2n+1) { clear: left !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!) Link to comment
AndrewMarston Posted September 3, 2020 Author Share Posted September 3, 2020 Thanks. For some reason it appears the problem of stacking 3 posts on 1 row and moving the 4th to its own row persists between 1166px down to 880px. I've tried removing all other custom CSS except the code you posted, but can't figure out how to get the posts to move directly from 4 across to 2 x 2. Link to comment
tuanphan Posted September 12, 2020 Share Posted September 12, 2020 On 9/3/2020 at 11:14 PM, AndrewMarston said: Thanks. For some reason it appears the problem of stacking 3 posts on 1 row and moving the 4th to its own row persists between 1166px down to 880px. I've tried removing all other custom CSS except the code you posted, but can't figure out how to get the posts to move directly from 4 across to 2 x 2. Sorry, didn't get the notification. Have you solved it yet? 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!) Link to comment
AndrewMarston Posted September 22, 2020 Author Share Posted September 22, 2020 Hi @tuanphan, Yes mostly. The only issue is on my Android mobile device only the first thumbnail appears of the "RECENTLY ADDED TUTORIALS" section (see attached). I suspect it has something to do with the size of the image Squarespace is trying to load... Any ideas? site URL: https://www.pixelsandpaths.com pass: july12021 Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.