Hello, I only want to adjust the body width of the blog and new pages, and I don’t want to adjust the body width of the homepage and product pages. How to set it up?
I know this question is about a year old now. But I ran into this problem of needing to adjust the width of the blog only and not the entire site. The previous solution suggested putting the code in the base.css which changes the entire site but putting the code in the section-blog-post.css changes the blog width and nothing else.
Go to Online Store->Theme->Edit code
Asset->/section-blog-post.css->paste below code at the bottom of the file:
.page-width {
max-width: 60% !important;
}
I did 60% since it was much wider than default without being entirely full width. Play around with the percentage values to find what fits your need.
Im trying to do something similar; I madre my page full width and it look nice; but when i try to see a page i want to have padding. I tried to change section-main-page.css and it works; but the header is also making the padding. How can I do to just put the padding on the content and not on the header?