Jump to content

Custom header padding on index page

Recommended Posts

Site URL: https://amalchandaria.com

When I adjust the header or page padding for my website, the adjustments don't seem to apply to my Index page. I reached out to Squarespace Support, and they mentioned the Index doesn't have an independently adjustable header. This is resulting in the spacing being very tight on my Index page, but looking normal on project pages. Is there a way (perhaps using custom CSS) to have the two pages have identical header padding & spacing?

Thanks!
Amal

Screen Shot 2022-04-27 at 2.15.39 PM.png

Screen Shot 2022-04-27 at 2.15.46 PM.png

Link to comment
  • Replies 2
  • Views 161
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Add to Design > Custom CSS

body.collection-type-index div#canvas {
    padding-top: 10px;
}
body.collection-type-index header#header {
    margin-bottom: 0px !important;
}
body.collection-type-index .extra-wrapper.page-header {
    margin-top: 10px;
}

 

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
  • 1 month later...

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.