Jump to content

Can the blog width be changed (Wells template)?

Recommended Posts

Site URL: https://philipus.com/journal

Hello

Is there a way to make the blog take up less than the full width of the page? I'm wondering both about the list of blog posts and individual posts. I know that I can add spacers when I create blog posts but that's time consuming and also doesn't always work well. Basically I'd like to set a right margin, preferably of a percentage of the page width.

Thank you in advance

Philip


philipus.com ◦▪︎◦ instagram

Link to comment
  • Replies 1
  • Views 450
  • Created
  • Last Reply
On 9/12/2021 at 4:55 AM, philipus said:

Site URL: https://philipus.com/journal

Hello

Is there a way to make the blog take up less than the full width of the page? I'm wondering both about the list of blog posts and individual posts. I know that I can add spacers when I create blog posts but that's time consuming and also doesn't always work well. Basically I'd like to set a right margin, preferably of a percentage of the page width.

Thank you in advance

Philip

Add to Design > Custom CSS

/* Blog page width */
@media screen and (min-width:641px) {
body.collection-type-blog .main-content {
    margin-right: 20vw;
}
}

 

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.