I want to expand the width of the content on all my blog articles. Can someone help on what modification is needed.
Topic summary
A user seeks to expand the content width of blog articles on their Shopify store. Multiple solutions have been provided:
Recommended approaches:
- Navigate to Online Store → Themes → Edit Code
- Locate the
base.cssfile - Modify the
.page-width--narrowCSS class by adjusting themax-widthproperty
Specific suggestions include:
- One respondent recommends targeting
.article-template .page-width--narrowwithmax-width: 120rem - Another suggests editing
section-blog-post.cssinstead, settingmax-width: 130rem - A third solution proposes modifying
.page-width--narrowwithmax-width: 123.6remandpadding: 0
All solutions involve CSS modifications to increase the maximum width constraint applied to blog article content. The discussion remains open with no confirmation of which approach the original poster implemented.
Hi @rishabhmotani ,
Please follow the below steps
-
Go to online store → Themes → Edit code
-
Search for base.css and paste the below CSS at the very end of the file
.article-template .page-width--narrow{max-width:120rem;}
Hi @rishabhmotani ,
This is Richard from PageFly - Landing page builder, I’d like to suggest this idea:
Step 1: Go to Online Store->Theme->Edit code
Step 2: Asset->/section-blog-post.css->paste below code at the bottom of the file:
.article-template .page-width {
max-width: 130rem;
}
I hope it would help you
Best regards,
Richard | PageFly

