Hi there,
Looking to change the content width of the blog posts page without affecting the whole page (header, footer etc)
I have previously tried the below but it changed the full page including header, footer etc and i couldn’t figure out how to exclude them…
Any ideas?
.template-article .page-width {max-width: 800px !important; padding-left: 15px !important; padding-right: 15px !important;}
Hello There,
Please share your store URL and screenshot.
So that I will check and let you know the exact solution here.
Hello,
Please share your store URL with password (If Needed), So that I will give you proper solution here !
Add this css at the bottom of
Online Store->Theme->Edit code->Assets->theme.css
.template-article #MainContent .page-width.page-narrow.page-content {
max-width: 800px;
padding-left: 15px;
padding-right: 15px;
}
Hello There,
- In your Shopify Admin go to online store > themes > actions > edit code
- Find Asset > theme.scss.liquid and paste this at the bottom of the file:
.template-article #MainContent .page-width.page-narrow.page-content
{max-width: 800px !important; padding-left: 15px !important; padding-right: 15px !important;}
Perfect, love your work. Thanks so much for that!
1 Like
Kindly feel free to get back to me if you need any further assistance Thanks!
I attempted to use this solution today and it didn’t affect the text width at all. Can you help?
https://coreyegan.com/blogs/blog/how-to-layer-your-jewelry