Jump to content

Remove padding from certain index pages

Recommended Posts

Site URL: https://parrotfish-cymbals-axkd.squarespace.com/

Hi there, 

I have a few Index pages (sub-pages?) where I want remove the padding so that the content is full screen. 

I'm currently using the id's of the Index Pages (like below), and it works temporarily, but the id's keep changing and then the code stops working. 
#yui_3_17_2_1_1580574561775_504.Index-page-content
{
  padding-top: 0;
}

I've tried replacing the ids and go the #page-title route, like below but that just isn't working at all. 
#Instagram .Index-page-content {
  padding-left: 0;
  padding-right: 0;
  padding-bottom:0;
  max-width: 100%;
}

I've also tried adding this code to the page header, and while it works if I place it on the Index page, it won't work if I place it on the sub-index page. 
<style>
  .Index-page-content {
    max-width: 100% !important;
    padding-left: 0;
    padding-right: 0;
}
</style>

What am I missing?!

Website url is 
https://parrotfish-cymbals-axkd.squarespace.com/

and password is localforeigner

Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

<style>
.Index-page .Index-page-content {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}
</style>

Add to Page Header

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
13 hours ago, Bram said:

Great, but is there anyway to make this work on a specific index subpage? Adding this to the header of one of index pages sub pages does not work?

Can you share link to a subpage?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.