waqarm Posted March 30, 2022 Posted March 30, 2022 Site URL: https://waqarm.squarespace.com Hey everyone, I wanted to make my store page's contents narrower, so there is a little more white space on each side. I would appreciate any help to achieve this. Thank you.
tuanphan Posted April 1, 2022 Posted April 1, 2022 On 3/31/2022 at 12:03 AM, waqarm said: Site URL: https://waqarm.squarespace.com Hey everyone, I wanted to make my store page's contents narrower, so there is a little more white space on each side. I would appreciate any help to achieve this. Thank you. Hi. You mean this page? https://waqarm.squarespace.com/shop Add to Design > Custom CSS /* Shop page */ body.view-list .products.collection-content-wrapper { padding-left: 10vw; padding-right: 10vw; } jmerrill and waqarm 1 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!)
waqarm Posted April 2, 2022 Author Posted April 2, 2022 11 hours ago, tuanphan said: Hi. You mean this page? https://waqarm.squarespace.com/shop Add to Design > Custom CSS /* Shop page */ body.view-list .products.collection-content-wrapper { padding-left: 10vw; padding-right: 10vw; } Yes, that did it. Thank you!
jmerrill Posted March 4 Posted March 4 @tuanphan Thanks - this works great on desktop. How do I change the left/right padding on mobile?
tuanphan Posted March 7 Posted March 7 On 3/5/2024 at 2:17 AM, jmerrill said: @tuanphan Thanks - this works great on desktop. How do I change the left/right padding on mobile? Add this under @media screen and (max-width:767px) { body.view-list .products.collection-content-wrapper { padding-left: 20vw !important; padding-right: 20vw !important; } } jmerrill 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment