Klintholm Posted September 2, 2022 Posted September 2, 2022 Site URL: https://okra-sapphire-f9t6.squarespace.com/viden Hey everybody! I have a site https://okra-sapphire-f9t6.squarespace.com, where I try to align everything. Under the blogs, I have a problem with extra padding being added to the left and right side: https://okra-sapphire-f9t6.squarespace.com/viden I want to remove the padding, without removing the padding when viewed on the phone. Any suggestions?
tuanphan Posted September 4, 2022 Posted September 4, 2022 Add to Design > Custom CSS /* Desktop blog padding */ @media screen and (min-width:768px) { .blog-basic-grid.collection-content-wrapper { padding-left: 0; padding-right: 0; } } 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!)
Klintholm Posted September 6, 2022 Author Posted September 6, 2022 Thank you for replying! So this doesn't fix it completely, unfortunately. There is a sweet spot between 768px and circa 1400px, where there is zero padding and the blog contents does not align with the menu header and the footer.
Klintholm Posted September 6, 2022 Author Posted September 6, 2022 First image shows how the padding on the blog section aligns with the menu. The second image shows how below 1400px, it starts to go all the way out to the sides.
tuanphan Posted September 8, 2022 Posted September 8, 2022 On 9/6/2022 at 6:16 PM, Klintholm said: First image shows how the padding on the blog section aligns with the menu. The second image shows how below 1400px, it starts to go all the way out to the sides. You mean the site still has problem from 768px to about 1400px? 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!)
Klintholm Posted September 8, 2022 Author Posted September 8, 2022 Yes! As you can see on www.reload.dk/viden
Klintholm Posted September 8, 2022 Author Posted September 8, 2022 It want the overview of posts (the basic grid blog) to align with the header and the footer on the left and the right side.
tuanphan Posted September 9, 2022 Posted September 9, 2022 20 hours ago, Klintholm said: It want the overview of posts (the basic grid blog) to align with the header and the footer on the left and the right side. Use this @media screen and (min-width:768px) and (max-width:1400px) { .blog-basic-grid.collection-content-wrapper { padding-left: 4vw !important; padding-right: 4vw !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!)
Klintholm Posted September 12, 2022 Author Posted September 12, 2022 Thank you! This works almost perfectly. tuanphan 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment