Jump to content

Padding to site in 7.1?

Recommended Posts

Site URL: https://smilodon-ocelot-my5f.squarespace.com/

Thanks to @ChrisBartow with this code I've can add padding to my site WITHOUT affecting the mobile version or the top of bottom of the site. However, it only adds padding to the left side.

Does anyone know how to alter this code to add padding to the right side too?...

 

passcode: trythis

 

@media (min-width: 768px) {
  header, body { padding:0 50px; }
}





Link to comment
  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

padding: 0 50px means it is adding 50 pixels of padding to both the left and right. Is that not what you're seeing? It looks nice for me - which page doesn't work for you?

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.