Unlock Your Shopify Horizon Theme's Full-Width Blog: A Community-Tested Fix

Hey there, fellow store owners! As a Shopify migration expert and someone who loves digging into the nitty-gritty of store customization, I spend a lot of time sifting through the Shopify Community forums. It’s a goldmine of real-world problems and ingenious solutions from folks just like you. Recently, I stumbled upon a really common pain point that many of you using the popular Horizon theme might be familiar with: those frustratingly narrow blog posts.

Our friend @tkev69150 kicked off a thread asking for help with this exact issue. They were trying to make their blog content full-width on the Horizon theme, but it was stubbornly sticking to a 980px limit. Sound familiar? They’d already tried tweaking block and section code, and even consulted AI tools like Gemini and Claude, all without success. It’s that classic feeling when you know what you want your store to look like, but the theme just won’t cooperate!

Understanding the "Why": The Horizon Theme's Layout

Before we dive into the fix, it’s always helpful to understand why something is happening. Another insightful community member, @emilyjhonsan98, hit the nail on the head. She explained that the Horizon theme, like many modern Shopify themes, wraps its blog post articles in a pretty strict global layout container. This means that even if you try to force individual blog sections or blocks to be wider, that parent layout wrapper often overrides your changes, keeping the content locked at its default width. This is precisely why @tkev69150’s initial attempts were running into a brick wall!

The Community-Tested Solution: Expanding Your Blog Content

Luckily, the community rallied, and a clear, effective solution emerged. The core idea is to override that restrictive max-width property using a bit of custom CSS. A big shout-out to @Moeed, who provided a super straightforward method that worked perfectly for @tkev69150. Let’s walk through the steps:

Step-by-Step: Making Your Horizon Blog Posts Full-Width

  1. Navigate to Your Shopify Admin: Go to your Shopify admin dashboard.
  2. Access Theme Code: In the left sidebar, click on Online Store, then select Themes.
  3. Edit Your Live Theme: Find the theme you're currently using (should be the Horizon theme in this case). Click the ⋯ (three dots) button next to its name, and then choose Edit code from the dropdown menu.
  4. Locate theme.liquid: In the code editor, look for the theme.liquid file under the "Layout" directory. Click on it to open.
  5. Add Custom CSS: Scroll all the way down to the bottom of the theme.liquid file. You’ll want to paste the following code snippet just above the closing tag. This ensures your custom style is applied after the theme's default styles, allowing it to override them.
    
    
  6. Save Your Changes: After pasting the code, click the Save button in the top right corner.

And just like that, you should see your blog posts expand to full width! @Moeed even shared a helpful image showing the transformation:

The original poster, @tkev69150, quickly confirmed, "Thanks a lot, it works," which is always great to hear!

An Alternative Approach: Targeting .page-width

While Moeed's solution specifically targets the .blog-post-content class, another community member, @Wsp, offered a slightly different, more general approach. Their suggestion was to target the .page-width class, which is often a common container for content across many Shopify themes. This could be useful if you find that Moeed's solution doesn't quite give you the full-width effect you're looking for, or if you want to apply a full-width layout to other pages beyond just blog posts.

Here’s how you’d implement @Wsp's method:

  1. Navigate to Your Shopify Admin: Go to your Shopify admin dashboard.
  2. Access Theme Code: Click on Online Store, then Themes.
  3. Edit Your Live Theme: Click the ⋯ (three dots) button next to your theme and choose Edit code.
  4. Locate CSS File: Open the Assets folder and look for base.css. If you don't see base.css, then look for theme.css.
  5. Add Custom CSS: Paste this code at the very end of the file:
    .page-width {
        max-width: 100% !important;
    }
    
  6. Save Your Changes: Click the Save button.

This method works by overriding the global max-width for any element with the class .page-width, which often dictates the main content area's width. It's a powerful snippet that @Wsp noted "will remove 980px width limit and make you blog content full width in most Shopify theme." While Moeed's solution was confirmed to work for the specific .blog-post-content on Horizon, it's good to have options!

A Quick Note on Custom Code

Just a friendly reminder: whenever you're adding custom code to your theme, it’s always a good practice to duplicate your theme first. This creates a backup, so if anything goes awry, you can easily revert to the previous version without impacting your live store. It’s a simple step that can save a lot of headaches!

It’s fantastic to see the community come together to solve these common challenges. This thread is a perfect example of how sharing knowledge can quickly unblock fellow store owners. If you're using the Horizon theme and have been pulling your hair out over narrow blog posts, give Moeed’s solution a try. It’s proven to work, and it’ll help your content shine across the entire width of your visitors’ screens. Happy customizing!

Share:

Start with the tools

Explore migration tools

See options, compare methods, and pick the path that fits your store.

Explore migration tools