Jump to content

How do I increase padding on blog posts?

Recommended Posts

Site URL: https://www.aronjones.co.uk/writing/2020/6/22/compact-ui-for-call-of-duty-warzone

Hi there

I'm using the York template and have recently added a blog post. Unfortunately the width is too wide in the actual post and I would like to reduce it without affecting the site padding elsewhere. So it just affects the blog posts.

Please be aware I'm using existing CSS to handle template issues that York has such as;

.overflow-wrapper {
   overflow-y: hidden;
 }

This is to stop double-scrolling on mobile. And I use this;

 #site {
   padding-bottom: 20px !important;
 }

This is just to add some padding to the bottom of the site.

Any help would be greatly appreciated! Thanks.

Aron.

Link to comment
  • Replies 1
  • Created
  • Last Reply

Add to Home > Design > Custom CSS

@media screen and (min-width:641px) {
.collection-type-blog.view-item .main-content {
    width: 60% !important;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Archived

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