Jump to content

Change "Content Section Padding" on a single page

Recommended Posts

  • Replies 4
  • Views 714
  • Created
  • Last Reply
16 hours ago, Slotte said:

Site URL: https://www.philipslotte.se/

Hello,
I would like to remove the gap between the images and header on my homepage: https://www.philipslotte.se/ without affecting any of my other pages.

I've been searching around on Google and other forums to find a solution but I haven't found anything that works yet.

I would really appreciate some help.

Thanks in advance.

Do you mean like so

image.thumb.png.95abc064bd68a7a26c09075790e15353.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
9 hours ago, bangank36 said:

Do you mean like so

image.thumb.png.95abc064bd68a7a26c09075790e15353.png

I managed to work around it by changing the "Content Section Padding" from 60px to 0px and then add a "spacer" at the top and bottom of each page except for the homepage.

But I would prefer to keep the "Content Section Padding" at 60px and just have it at 0px only on the homepage.

 

 

namnlos.png

Link to comment
On 7/5/2021 at 8:30 PM, Slotte said:

I managed to work around it by changing the "Content Section Padding" from 60px to 0px and then add a "spacer" at the top and bottom of each page except for the homepage.

But I would prefer to keep the "Content Section Padding" at 60px and just have it at 0px only on the homepage.

 

 

namnlos.png

You can revert to 60px in default setting & &add this to Design > Custom CSS

/* Homepage space under header */
body.homepage .Main-content {
    padding-top: 0px !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!)

Link to comment
On 7/7/2021 at 7:46 AM, tuanphan said:

You can revert to 60px in default setting & &add this to Design > Custom CSS

/* Homepage space under header */
body.homepage .Main-content {
    padding-top: 0px !important;
}

 

Thank you so much! :)

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.