Buy me a coffee

Blog different width

#1. Specific blog page width

First, you need to find the blog page ID.

In my example, we have:

  • #collection-6677756d03a4f15ba27ce9d8

Next, use CSS code like this

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

Blog Different Width 01 Min

#2. Specific blog posts width (all blog posts belong specific blog page)

First, find the blog page ID.

In my example, we will have:

  • #collection-6677756d03a4f15ba27ce9d8

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

  • .collection-6677756d03a4f15ba27ce9d8

Next, use this code to Custom CSS box

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

Blog Different Width 02 Min

#3. Specific blog post width

You can edit blog post > Add a Code Block

Blog Different Width 03 Min

Blog Different Width 04 Min

Use this code into Code Block

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

Blog Different Width 05 Min