Jump to content

Decreasing Section Padding Squarespace 7.1

Recommended Posts

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
  • Replies 2
  • Views 373
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.