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

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

Question

8 answers to this question

Recommended Posts

  • 0

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.


World-class Squarespace Developer and Squarespace Circle Leader with a strong reputation on the Squarespace Forum.
I'm trusted by hundreds of Squarespace users worldwide, including designers, freelancers, business owners and big agencies.

I can tackle anything from small tweaks to full websites and I'm available for short and long bookings (min. 1 hour).
Book via my website giving as much notice as possible. Note that I'm usually booked 4 - 6 weeks in advance for jobs longer than 2 hours.
Prebuilt Squarespace Extensions
Custom Squarespace Extensions: Tell me about the functionality you need

**NEW** Our popular Date Picker Extension and Age Verification Extension are now Squarespace 7.1 compatible.

Share this post


Link to post
  • 0

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!

Share this post


Link to post
  • 0

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!

Share this post


Link to post
  • 0

Looks like you fixed this?


World-class Squarespace Developer and Squarespace Circle Leader with a strong reputation on the Squarespace Forum.
I'm trusted by hundreds of Squarespace users worldwide, including designers, freelancers, business owners and big agencies.

I can tackle anything from small tweaks to full websites and I'm available for short and long bookings (min. 1 hour).
Book via my website giving as much notice as possible. Note that I'm usually booked 4 - 6 weeks in advance for jobs longer than 2 hours.
Prebuilt Squarespace Extensions
Custom Squarespace Extensions: Tell me about the functionality you need

**NEW** Our popular Date Picker Extension and Age Verification Extension are now Squarespace 7.1 compatible.

Share this post


Link to post
Guest
This topic is now closed to further replies.

×
×
  • Create New...