Mobile Footer Makeover: Aligning Copyright & Policy Links in Shopify's Horizon Theme

Hey fellow store owners! Ever found yourself staring at your beautiful Shopify footer on mobile, only to realize the copyright text is… well, not quite where you want it? Or maybe your policy links are doing a strange wrap dance, taking up more lines than necessary? You're definitely not alone. This is a super common customization challenge, especially with newer themes like Horizon.

I recently stumbled upon a great discussion in the Shopify community that tackled this exact issue. Our friend PoW8 kicked things off, asking how to align their copyright text left on mobile and get those pesky middle lines (likely policy links) to combine into one. It was a classic "looks right on desktop, but mobile is a mess" scenario, and the community really rallied to help.

First Stop: The Theme Editor (Always!)

Before diving into any code, the absolute first thing you should always do when customizing your Shopify store is check the theme editor. This was a fantastic point raised by DiegoCosta2428 in the thread, and it’s something I always preach. Why? Because if there's a setting for it, it's the cleanest, most update-proof fix you can get.

Here’s how to check:

  1. Go to your Shopify admin and navigate to Online Store > Themes.
  2. Click Customize on your active Horizon theme.
  3. In the theme editor, scroll down to your Footer section.
  4. Click on the specific block that contains your copyright text (it's often called a "Utilities" or a "Text" block within the footer).
  5. Look for any alignment options or settings related to text layout. If you find a "Left" alignment option, set it and save! You're done, and your theme updates won't break it.

Unfortunately, as PoW8's experience showed, these built-in options aren't always available for every specific alignment need. That's when we roll up our sleeves and get into some custom CSS.

When Code Calls: Custom CSS for Mobile Alignment and Link Wrapping

If the theme editor doesn't offer a direct solution, custom CSS is your best friend. DiegoCosta2428 provided a robust CSS snippet that addresses both left alignment and the common issue of policy links wrapping onto multiple lines. This is super helpful because it specifically targets mobile screens, ensuring your desktop layout remains untouched.

Here’s the code they suggested:

@media screen and (max-width: 749px) {
  .footer-utilities {
    align-items: flex-start;
    text-align: left;
  }
  .footer-utilities a {
    white-space: nowrap; 
  }
}

Let's break down what this code does and how to implement it:

  • @media screen and (max-width: 749px): This is a media query. It tells the browser, "Only apply these styles when the screen width is 749 pixels or less" – perfect for targeting mobile devices.
  • .footer-utilities: This is a common class name for the footer utility section in Shopify themes. It's where your copyright and policy links often reside.
  • align-items: flex-start;: If your footer utilities are using Flexbox (which is very common in modern themes like Horizon), this property aligns the items to the start (left) of the container.
  • text-align: left;: This is the classic CSS property for aligning text to the left.
  • .footer-utilities a { white-space: nowrap; }: This is the magic touch for those wrapping policy links! It tells any links within the footer utilities section to "not wrap" – they'll stay on a single line. Just be sure to test this on very narrow phones, as DiegoCosta2428 wisely pointed out, it could push the row wider than the screen if your links are super long.

How to Add This Custom CSS:

  1. From your Shopify admin, go to Online Store > Themes.
  2. Find your Horizon theme, click the Actions button, and select Edit code.
  3. Look for a file named theme.liquid, base.css, or sometimes there's a dedicated Theme settings > Custom CSS area. DiegoCosta2428 specifically recommended pasting it under Theme settings > Custom CSS, which is usually the cleanest spot for custom snippets as it doesn't modify core theme files directly.
  4. Paste the CSS code into the file or the Custom CSS box.
  5. Important: Always duplicate your theme before making code changes! This creates a backup you can revert to if anything goes wrong. Shopify Support generally doesn't troubleshoot custom forum code, so having a backup is crucial.
  6. Save your changes and preview your store on a mobile device.

The Community's Specific Solutions and PoW8's Breakthrough

The thread also saw Moeed jump in with a more specific CSS solution, targeting a very particular div ID:

While this code worked for Moeed and was suggested to PoW8, it's worth noting that IDs like shopify-section-sections--28708504895764__footer_utilities_hy6DYA are often dynamically generated and can change between themes, sections, or even updates. So, while it's a valid approach if you can pinpoint the exact ID for your store, the more general .footer-utilities class is usually a safer bet for broader application. Moeed suggested adding this within the theme.liquid file, right above the tag.

image

Ultimately, PoW8, after some back-and-forth and sharing screenshots like this one showing their initial issue:

IMG_1516

IMG_1501

...managed to figure out a solution for themselves! They mentioned using display: inline in custom CSS and text-left: in the dedicated block file. While text-left: isn't a standard CSS property (it might be a class or a shorthand in their specific theme's framework), the display: inline part is definitely key for controlling how elements behave on a single line. It's a great example of how sometimes, a bit of experimentation leads to a personalized fix.

Wrapping Up Your Footer Customization

The beauty of the Shopify platform and its vibrant community is that there's almost always a way to get your store looking exactly how you envision it. Whether it's a simple setting in the theme editor, a powerful snippet of custom CSS, or even a clever workaround you discover yourself, customizing your store's look and feel is part of the journey. For those just starting their e-commerce adventure or looking to migrate to a platform that offers this level of customization and community support, Shopify is an excellent choice.

Remember, the goal is always to create a seamless and professional experience for your customers, no matter what device they're browsing on. So, take these tips, experiment on a duplicated theme, and don't hesitate to jump into the community forums yourself if you hit a snag. 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