Jump to content

Removing Padding from an index section

Recommended Posts

Hello! I am trying to remove extra space from my custom testimonial index section. As you can see in the image there is a lot of space above and below, is  there custom code I can place to fix this? the slug for the page is testimonials-1 

Screen Shot 2020-05-26 at 5.40.06 PM.png

Link to comment
  • Replies 9
  • Views 1.4k
  • Created
  • Last Reply
  • 2 weeks later...
  • 2 weeks later...
4 hours ago, Diranne said:

Hi @tuanphan can you tell me how I remove the padding from my home page?

 

Seem to have picked up lots of padding in the index?

 

https://www.harvest.technology/ 

 

Thank you! 

 

 

Add to Home > Design > Custom CSS

.homepage .Index-page-content {
    padding-top: 5px;
    padding-bottom: 5px;
}

 

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
2 hours ago, Diranne said:

Hmmm.... doesn't seem to work! How would I remove / reduce padding for the whole site? 

 

Thank you for helping!!! 

Try this CSS

.Index-page-content {
    padding-top: 5px !important;
    padding-bottom: 5px !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

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.