Jump to content

Brine/Sofia: How can I add content padding to Blog Post page?

Recommended Posts

  • Replies 8
  • Created
  • Last Reply

Hi @Paul2009! I have the same question as @kierragodfrey, but my site is not password protected. Maybe you could help me? :)

The blog I'm working on is: https://www.greenapplephotographyonline.com/photoblog/2018/3/29/cynthia-portfolio-shoot It's the Foster template in the Brine family.

I found a code that worked to add padding, but it's not centered. Any idea on how to do the same thing, but center it, using CSS code? Here's the code I used:

.sqs-gallery-block-stacked .image-wrapper img { width: 60%; }

Thank you so much, for any help you can give!

Link to comment

Hi @Paul2009! I have the same question as @kierragodfrey, but my site is not password protected. Maybe you could help me? :)

The blog I'm working on is: https://www.greenapplephotographyonline.com/photoblog/2018/3/29/cynthia-portfolio-shoot It's the Foster template in the Brine family.

I found a code that worked to add padding, but it's not centered. Any idea on how to do the same thing, but center it, using CSS code? Here's the code I used:

.sqs-gallery-block-stacked .image-wrapper img { width: 60%; }

Thank you so much, for any help you can give!

Link to comment

Looks like you fixed this?

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

Link to comment

Thanks for adding the posts. If you want side padding when individual blog posts are shown, you can add the following to Design > Custom CSS:


@media screen and (min-width: 900px) {
 .collection-type-blog.view-item .Main-content {
   padding: 75px 317px;
 }
}

The current site padding is 17 pixels on either side. In the example code above I've increased it to 317px but you can change this to suit your needs. If you view a blog item before you open the CSS window, you'll be able to preview the changes as you make them.

I've set this to affect the site at widths of 900px and above. Below that, the margins would be too large.

Let me know how you get on.

Paul

Contributors to this forum voluntarily give their time to help you. If we correctly answer your question, please accept the answer by clicking Accept below it (you'll see it when you're logged on). If an answer doesn't help, feel free to ask for more help or wait for other forum users to add their comments and/or answers.

To everyone else who reads an answer and finds it helpful, please vote it up using the up arrow on the right. This helps other forum users by giving them confidence in an answer.
For more Squarespace tips see our website.

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

Link to comment
  • 10 months later...

Archived

This topic is now archived and is closed to further replies.

Guest
This topic is now 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.