squarespace_help_needed Posted June 13, 2023 Share Posted June 13, 2023 On this blog page:https://www.garudiostudiage.com/news in mobile view, I have used this code to make the posts display in 2 columns: @media only screen and (max-width: 767px) { .blog-basic-grid { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 14px; } .blog-basic-grid--container img { width: 100% !important; height: auto !important; } } It works, except the gaps between the posts are huge (as per the screen shot) and I can't find a way of adjusting these? Any help would be very gratefully received. Thank you! Link to comment
Solution tuanphan Posted June 15, 2023 Solution Share Posted June 15, 2023 Add to Design > Custom CSS /* Mobile Blog Spacing */ @media screen and (max-width:767px) { .blog-basic-grid .blog-title { margin-bottom: 10px !important; } } sayreambrosio 1 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
squarespace_help_needed Posted June 16, 2023 Author Share Posted June 16, 2023 Thank you so much, that's great! Link to comment
ThisWayToFabulous Posted February 26 Share Posted February 26 @tuanphan what if we're trying to minimize the space between the title and the image? Trying to make it more apparent which post the title goes with. https://www.playroominspo.com/gift-guides Link to comment
tuanphan Posted February 26 Share Posted February 26 21 minutes ago, ThisWayToFabulous said: @tuanphan what if we're trying to minimize the space between the title and the image? Trying to make it more apparent which post the title goes with. https://www.playroominspo.com/gift-guides Use this CSS code @media screen and (max-width:767px) { .blog-article-spacer { height: 1px !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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment