Jump to content

How do I remove the project section padding?

Go to solution Solved by iamdavehart,

Recommended Posts

Site URL: https://designbyding.com

Hi, I am trying to figure out how to remove the extra section padding in the Manage Projects, so that the homepage content could match the height in ABOUT and CONTACT pages.  Please take a look at the screenshots.  ss_question1.thumb.JPG.38929a496d2d5b7da3e24d0105f06e80.JPG

I put two browsers side by side and the homepage with Pages aka with the projects (screenshot #1) is slightly lower than the ABOUT or CONTACT because of the extra section padding.  How do I match the height with CSS override / remove padding?  Please advice.  Thank you very much!  ss_question2.thumb.JPG.3c710e45cd969cc8a02fcc71212b351e.JPG

Link to comment
  • Solution

the portfolio / project grid has its own padding. so you'd need to remove that by setting it to 0. 

.tweak-portfolio-grid-overlay-height-custom .portfolio-grid-overlay {
    padding-top: 0 !important; 
}

add this to your page, either within the sites custom css or inside a code block (you would need to put the code above between <style></style> tags if you do that)

 

Dave Hart. Software/Technology Consultant living in London. buymeacoffee 

Link to comment
8 minutes ago, iamdavehart said:

the portfolio / project grid has its own padding. so you'd need to remove that by setting it to 0. 

.tweak-portfolio-grid-overlay-height-custom .portfolio-grid-overlay {
    padding-top: 0 !important; 
}

add this to your page, either within the sites custom css or inside a code block (you would need to put the code above between <style></style> tags if you do that)

 

Hey!  Thank you and much appreciated!  The problem is... I don't know how to code 😅, I understand the concept of it, the padding. I figured I should ask on the forum.

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.