Jump to content

Expand blog padding(?) CSS

Recommended Posts

Posted

 

Hiya, 

Is there some CSS so I can can give my main blog page a bit of padding at the sides, so the posts don't go right to the edge of the screen/display? See photo. I know I can do this in site styles, but that does it for the whole website and I don't want that - thank you!

 

Screenshot 2023-01-16 at 10.18.56.png

  • Replies 9
  • Views 1.4k
  • Created
  • Last Reply

Top Posters In This Topic

Posted

Can you share your website URL? Thanks!

Have you got the section on the page set to Full or Inset?

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Posted

Can you add a site wide password so I can see the website?

https://support.squarespace.com/hc/en-us/articles/205815528-Site-wide-passwords

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Posted

Hi @jadeeleanor try adding this to your Custom CSS:

.tweak-blog-basic-grid-width-full .blog-basic-grid {
    padding-left: 32px;
    padding-right: 32px;
}

Hope that works! Give me a thumbs up if you can, thanks!

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

  • 1 year later...
Posted

@amandaclairef Hi! You can add this code under Website > Pages > Website Tools > Custom CSS to add spacing on the sides of your main blog page. Adjust the number 6vw in the code to change the spacing on the sides.

#collection-64f7a34dac52a1528308a354 .tweak-blog-basic-grid-width-inset .blog-basic-grid {
    padding-left: 6vw !important;
    padding-right: 6vw !important;
}

If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. 

Sam
Web Developer & Digital Designer

 Did you find my contribution helpful? Buy me a coffee?

Posted
On 7/28/2024 at 7:33 PM, Lesum said:

@amandaclairef Hi! You can add this code under Website > Pages > Website Tools > Custom CSS to add spacing on the sides of your main blog page. Adjust the number 6vw in the code to change the spacing on the sides.

#collection-64f7a34dac52a1528308a354 .tweak-blog-basic-grid-width-inset .blog-basic-grid {
    padding-left: 6vw !important;
    padding-right: 6vw !important;
}

Thank you! What should I change "6vw" to?

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.