Shopify themes, liquid, logos, and UX
Hello,
I would like to change the width of the all pages and blog posts/articles on the California theme. To read an article or a info page is really hard with this flu width.
I tried a few codes I have found in the community, sadly all not successful. Maybe you know a solution.
Example blog article: https://luc8k.com/blogs/general-news/reimagining-luxury
All pages: https://luc8k.com/pages/leather-craftsmanship
Thanks so much for your help.
Solved! Go to the solution
This is an accepted solution.
Hello @Luc8k ,
I would like to give you some recommendations to support you:
1. Go to Online Store -> Theme -> Edit code
2. Open your theme.liquid theme file
3. Paste the below code before </head>
<style>
.template-page .layout, .template-article .layout {
max-width: 100% !important;
width: 1600px;
}
</style>
For example,
If you require any further information, feel free to contact me.
Best regards,
GemPages Support Team
This is an accepted solution.
Hi @Luc8k,
This is Victor from PageFly - Shopify Page Builder App.
Please try this way: At code after </head> of theme.liquid
{% if template== 'pages' or template=='blogs'%}
<style>
.template-page .layout, .template-article .layout{
max-width:100% !important;
width:100% !important;
}
.custom-page{
width:100% !important;
max-width:100% !important
}
</style>
{% endif %}
Hope my solution works perfectly for you!
Regards,
Victor | PageFly
This is an accepted solution.
Hello @Luc8k ,
I would like to give you some recommendations to support you:
1. Go to Online Store -> Theme -> Edit code
2. Open your theme.liquid theme file
3. Paste the below code before </head>
<style>
.template-page .layout, .template-article .layout {
max-width: 100% !important;
width: 1600px;
}
</style>
For example,
If you require any further information, feel free to contact me.
Best regards,
GemPages Support Team
Thanks soooo much it worked perfectly. I adjusted the size a bit. Now it shows as we like. 😄
Thank you very much.
Cheers
Hi I’m facing the same issue, hope you can have a look at my website, I’ve tried the code but didn’t work for me, thank you in advance
This is an accepted solution.
Hi @Luc8k,
This is Victor from PageFly - Shopify Page Builder App.
Please try this way: At code after </head> of theme.liquid
{% if template== 'pages' or template=='blogs'%}
<style>
.template-page .layout, .template-article .layout{
max-width:100% !important;
width:100% !important;
}
.custom-page{
width:100% !important;
max-width:100% !important
}
</style>
{% endif %}
Hope my solution works perfectly for you!
Regards,
Victor | PageFly
Thanks so much. It works with your code as well. 😄
Cheers
Hello @Luc8k ,
I am so glad that my solution can help.
Best regards,
GemPages Support Team
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025