Jump to content

How to reduce top and bottom padding in a section?

Recommended Posts

I have tried this but not working. 

[data-section-id="5e8f4059a780b645bb8468ac"] {
    min-height: 10vh !important;
[data-section-id="5e8f4059a780b645bb8468ac"] .content-wrapper {
    padding-top: 2px !important;
    padding-bottom: 2px !important;

Seems to work for a #page section but not any section with a specific id, e.g.

#page .content-wrapper {
    padding-top: 0;
    padding-bottom: 0;


Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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.