SolveigTraeet Posted January 13, 2021 Share Posted January 13, 2021 Site URL: https://caper-badger-3s6d.squarespace.com/blog Password: home 1. I want to make the Blog post section's width a bit smaller. 2. I also want the blog post to be 2 items/row on mobile version (now they just get stacked). Can anyone help me? Link to comment
tuanphan Posted January 16, 2021 Share Posted January 16, 2021 Q1. You mean posts width? Q2. 4 items/row or 2 items/row? 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
SolveigTraeet Posted January 16, 2021 Author Share Posted January 16, 2021 @tuanphan Thank you for replying! 1. Yes, the width. 2. two items/row (on mobile version) Link to comment
SolveigTraeet Posted January 19, 2021 Author Share Posted January 19, 2021 @tuanphan Can you help me? Link to comment
tuanphan Posted January 20, 2021 Share Posted January 20, 2021 Add to Design > Custom CSS @media screen and (min-width:768px) { .tweak-blog-basic-grid-width-inset .blog-basic-grid { grid-column-gap: 100px; } } @media screen and (max-width:767px) { .tweak-blog-basic-grid-width-inset .blog-basic-grid { grid-template-columns: repeat(2,1fr) !important; display: grid; } } 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
SolveigTraeet Posted January 21, 2021 Author Share Posted January 21, 2021 On 1/20/2021 at 3:18 PM, tuanphan said: Add to Design > Custom CSS @media screen and (min-width:768px) { .tweak-blog-basic-grid-width-inset .blog-basic-grid { grid-column-gap: 100px; } } @media screen and (max-width:767px) { .tweak-blog-basic-grid-width-inset .blog-basic-grid { grid-template-columns: repeat(2,1fr) !important; display: grid; } } @tuanphan Thank you for replying. But the space/gap became bigger with this code. I want the section (that contains the blog posts) width, to be narrower. Can you help? I want 2 items/row on mobile version. Can you help? Link to comment
SolveigTraeet Posted January 23, 2021 Author Share Posted January 23, 2021 On 1/20/2021 at 3:18 PM, tuanphan said: Add to Design > Custom CSS @media screen and (min-width:768px) { .tweak-blog-basic-grid-width-inset .blog-basic-grid { grid-column-gap: 100px; } } @media screen and (max-width:767px) { .tweak-blog-basic-grid-width-inset .blog-basic-grid { grid-template-columns: repeat(2,1fr) !important; display: grid; } } On 1/21/2021 at 4:23 PM, SolveigTraeet said: @tuanphan Thank you for replying. But the padding became bigger with this code. I want the section (that contains the blog posts) width, to be narrower. Can you help? I want 2 items/row on mobile version. Can you help? @tuanphan Can you help me sort this out today? Link to comment
tuanphan Posted January 24, 2021 Share Posted January 24, 2021 Add to Design > Custom CSS @media screen and (min-width:768px) { .tweak-blog-basic-grid-width-inset .blog-basic-grid { padding-left: 20vw; padding-right: 20vw; } } @media screen and (max-width:767px) { .tweak-blog-basic-grid-width-inset .blog-basic-grid { display: grid !important; grid-template-columns: repeat(2,1fr) !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
SolveigTraeet Posted January 24, 2021 Author Share Posted January 24, 2021 @tuanphan Thank you so much! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.