Unlock Wider Layouts: Customize Shopify Page Widths for Editorial Content
Hey fellow store owners! Let's talk about a common design challenge that recently sparked a great discussion in the Shopify community: how to get those beautiful, wider layouts for specific pages without messing up the rest of your site. Our friend casacarlini from Casa Carlini brought this up, struggling to make pages like 'About' and 'Submissions' wider for more editorial content, image grids, and two-column layouts. The default theme was just too narrow, squeezing everything in.
It's a familiar pain point, isn't it? You want a dynamic, engaging page, but your theme seems to have other ideas. Fortunately, the community really rallied around this, and we've got some fantastic, clean solutions, especially if you're on a modern Shopify theme like Horizon.
Understanding the 'Narrow Page' Dilemma
Casacarlini's issue was that even when adding custom HTML or Liquid with wider elements, the page content remained constrained by the theme's overall page template. As DanielAnderson and Ploqo pointed out, this is because many newer Shopify OS 2.0 themes, like Horizon 4.1.3, control width at the section level. Your main page body often sits within a section that's hardcoded to a narrow reading width, and that's usually where the constraint lives, not in the HTML you paste in.
The goal was clear: get a wider, more flexible layout for a few specific pages, similar to their existing Author page, while keeping the rest of the site's pages at their standard, narrower width. And crucially, it all needed to remain responsive on mobile.
The Community-Approved Solution: Custom Page Templates
The consensus from the community, particularly from kai_xing, Ploqo, and MayraApps, is that the cleanest and most maintainable way to achieve this is by creating a separate page template for these specific, wider pages. This avoids broad CSS overrides that could affect your entire site and keeps your customizations organized.
Ploqo beautifully illustrated the 'before and after' of this transformation:
Step-by-Step: Getting Wider Pages on Shopify
1. Check for an Existing Wider Template (The Smart Shortcut!)
Before you build anything new, MayraApps wisely suggested checking if you already have a template with the desired width. Casacarlini mentioned their Author page had the right look. So, first:
- Go to your Shopify Admin: Content > Pages.
- Open the page that already has the width you want (e.g., your Author page).
- Look at the Theme template dropdown on the right side. If it says anything other than 'Default page', that template already exists and has the width you're after.
- If so, you're in luck! Simply assign this existing template to your other target pages (About, Imprints, etc.). No code, no new files needed! Fonike939 confirmed this was the quickest and cleanest way.
2. Create a New Custom Page Template (If You Need One)
If your Author page is on the default template, or if you want a completely new layout, you'll need to create a fresh template:
- In your Shopify Admin, go to Content > Pages.
- Open any of the pages you want to make wider (e.g., 'About').
- On the right side, under 'Theme template', click Create template.
- Give it a descriptive name, like "editorial", and it will start as a copy of your default page template.
- Now, assign this newly created "editorial" template to all the pages you want to widen (About, Imprints, Submissions, Support, Start Here). The rest of your site will remain unaffected.
3. Widen the Content Area for Your New Template
This is where we actually adjust the width. Ploqo provided a super clean method for themes like Horizon:
- Go to Online Store > Themes > Customize.
- At the top of the Customizer, use the template picker dropdown to switch to your new "editorial" template.
- In the left sidebar, click Add section.
- Choose the Custom Liquid section.
- Paste the following code into the Custom Liquid box and click Save:
- You can change
1100pxto your desired width. This specifically targets the.page-width-contentvariable, which Horizon themes use to control the content area width.
Alternative: Using template.suffix for CSS (More Advanced)
AsadRayat and MayraApps discussed another way to inject scoped CSS using Liquid's template.suffix. This is a bit more advanced and involves editing your theme's core files, but it's good to know:
- Go to Online Store > Themes > Actions > Edit code.
- Locate a relevant CSS file or a file like
theme.liquid. - You can then add a conditional CSS block like this (corrected by MayraApps):
{% if template.suffix == 'editorial' %}
{% endif %}
Important consideration: MayraApps warned against broad selectors with this method. Make sure your CSS targets elements inside the main content area, rather than shared container classes that might affect your header or footer. Ploqo's Custom Liquid method using --page-content-width is generally safer as it targets a specific variable designed for content width.
Key Considerations for a Smooth Experience
-
Mobile Responsiveness: Both Ploqo and MayraApps emphasized that this fixed, centered width approach (not
100vwor negative margins) keeps your pages responsive. It collapses to one column on smaller screens naturally, avoiding horizontal scrollbars on desktop or sideways swiping on mobile. Always test on an actual phone! - Maintainability: By creating a dedicated template and using a Custom Liquid section, your width changes are in one place, making them easy to manage and update. You won't have scattered CSS snippets all over your pages.
- Page Builders: If coding isn't your jam, Ploqo also mentioned page builders like PageFly, Shogun, or GemPages. These tools offer visual drag-and-drop interfaces to create custom, wider page layouts without touching any code. They can be a great option for merchants looking to build a robust online presence easily. If you're just starting your journey to create your Shopify store, these tools can really speed up your design process.
So, there you have it! Casacarlini's initial challenge turned into a fantastic learning opportunity for the whole community. By leveraging Shopify's template system and a little targeted CSS, you can easily break free from narrow page constraints and create the dynamic, image-rich editorial layouts you've always wanted, all while keeping the rest of your store looking just right. It's all about working with your theme's structure, not against it, to create a storefront that truly shines.



