Jump to content

[Share] Change Blog page width

Recommended Posts

To change Blog page width, you can use these CSS code to Website Tools > Custom CSS.

#1. Specific blog page width

First, you need to find the blog page ID.

In my example, it is: #collection-6677756d03a4f15ba27ce9d8

Next, use CSS code like this

#collection-6677756d03a4f15ba27ce9d8 div[class*="blog-"].collection-content-wrapper {
    max-width: 1000px;
}

image.png.4f50bb498dbb618bca806e8499f61690.png

#2. Width of all blog posts belong specific blog page

First, find blog page ID.

In my example it is: #collection-6677756d03a4f15ba27ce9d8

Next, we need to change # to dot . so the new ID will be:

.collection-6677756d03a4f15ba27ce9d8

Next, use CSS code like this

body.collection-6677756d03a4f15ba27ce9d8 .blog-item-inner-wrapper {
    max-width: 400px;
}

image.png.b15bc3779498be0ff68ef1207ece2cb9.png

#3. Specific blog post width

You can edit blog post > Add a Code Block

image.png.d7d10f08b4726205ebaf53608cdf6636.png

image.thumb.png.ddb57814d5a10cad41582461f625ecc9.png

and use CSS code like this into Code Block

<style>
  .blog-item-inner-wrapper {
    max-width: 400px;
}
  </style>

image.png.41435c3c71a522cc0f6b0512e959a501.png

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
  • Replies 0
  • Views 133
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

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.