AlexSaunders Posted January 14, 2022 Share Posted January 14, 2022 Site URL: https://ennys.squarespace.com/ I am trying to reduce the section padding on Squarespace 7.1. However, every time I add CSS code to reduce the padding it affects the social media block and the video posts become misaligned. Is this an error in the code? I've used the following and neither seem to work! .page-section { min-height: 0 !important; } .page-section { padding-top: 0!important; padding-bottom: 0!important; } Please help. Many thanks, Alex Link to comment
AlexSaunders Posted January 14, 2022 Author Share Posted January 14, 2022 I've just fixed this by reducing to 10 on the section height for now. Just wondering if there's an easier way to use code so I don't have to go through and set each section to 10 without affecting the instagram block. Link to comment
tuanphan Posted January 16, 2022 Share Posted January 16, 2022 On 1/14/2022 at 5:05 PM, AlexSaunders said: I've just fixed this by reducing to 10 on the section height for now. Just wondering if there's an easier way to use code so I don't have to go through and set each section to 10 without affecting the instagram block. Use [data-section-id="abcxyz123"] { min-height: unset !important; height: 5vh !important; } use this tool to find data section id. https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff?hl=en 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