Jump to content

Custom Padding for One Single Sub-Index Page

Recommended Posts

Posted

Site URL: https://alexandrahall.squarespace.com

Hey everyone! I am trying to customize several index pages on my home page with different padding per page but am having a difficult time.

For example, the third index page I'd like 0 px padding on the right and 40 px padding on the left. For the fourth index page, I'd like 0 px padding on the left and 40 px padding on the right. I can't seem to figure out how to do it for a single page only for the ENTIRE index on the home page? I've seen several threads on here addressing the same thing but no definitive answer.

Any help would be amazing. Thanks!

  • Replies 5
  • Views 561
  • Created
  • Last Reply
Posted
8 minutes ago, thirdeyegyps said:

Site URL: https://alexandrahall.squarespace.com

Hey everyone! I am trying to customize several index pages on my home page with different padding per page but am having a difficult time.

For example, the third index page I'd like 0 px padding on the right and 40 px padding on the left. For the fourth index page, I'd like 0 px padding on the left and 40 px padding on the right. I can't seem to figure out how to do it for a single page only for the ENTIRE index on the home page? I've seen several threads on here addressing the same thing but no definitive answer.

Any help would be amazing. Thanks!

Could you enable site wide password and let help have a look, each index page section has it own name that can be target

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

Posted
5 minutes ago, bangank36 said:

Could you enable site wide password and let help have a look, each index page section has it own name that can be target

Yes of course! The password is brineintopedro 

Thanks so much

Posted
On 4/10/2021 at 11:52 AM, thirdeyegyps said:

Site URL: https://alexandrahall.squarespace.com

Hey everyone! I am trying to customize several index pages on my home page with different padding per page but am having a difficult time.

For example, the third index page I'd like 0 px padding on the right and 40 px padding on the left. For the fourth index page, I'd like 0 px padding on the left and 40 px padding on the right. I can't seem to figure out how to do it for a single page only for the ENTIRE index on the home page? I've seen several threads on here addressing the same thing but no definitive answer.

Any help would be amazing. Thanks!

Add to Design  >Custom CSS

section#new-page-3>div {
    padding-left: 40px;
    padding-right: 0;
}

 

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!)

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.