Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

How do i reduce the padding for all my website pages at one go?


Recommended Posts

Site URL: https://suzan-terzian-draft.squarespace.com/homepage-content

As I'm not familiar with CSS coding at all, I would like to ask a general question here about padding.

How do I reduce (or adjust) the padding on the left and right hand sides for ALL my pages at one go?

So that there's some white space between my content & the left and right edges of my desktop screen.

Using Brine template, Squarespace 7.0

 

 

 

 

Link to post
  • Replies 9
  • Created
  • Last Reply

Top Posters In This Topic

In Custom CSS, find & edit 4.5

#collection-5e31722c925807707330abd2 .Index-page-content {
    padding: 0 4.5vw !important;
}

 

You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan, work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. 

Link to post

oh ok thanks alot.

so this will adjust the padding for all my client's pages?

just curious, what does the above collection ID refer to in this case?

Link to post

above code for One page, I guess collection ID is Page ID.

entire site, use this code

.Index-page-content {
    padding: 0 4.5vw !important;
}

 

You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan, work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. 

Link to post
  • 2 weeks later...

thanks for sharing the code.

but it doesn't work at in my case.

i already have another code with a #collection ID to adjust padding for an image on my homepage.

so maybe that's why your above code doesn't work?

 

 

Link to post
17 hours ago, BlessYouGame said:

What is your problem?

You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan, work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. 

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...