Bolding Your Shopify Horizon Theme Header Menu: A Community-Driven Customization Guide

Hey there, fellow store owners! Let's chat about something that often comes up when we're trying to polish our Shopify stores: making those navigation menus really pop. We all know a clear, well-structured menu is super important for guiding our customers, right? Sometimes, the default theme styling just doesn't quite hit the mark for highlighting key sections.

I was just digging through the Shopify community forums, and a great little thread caught my eye. It was all about customizing the header menu in the Horizon theme – specifically, how to make subcollection names bold. This is a common ask, and the solution shared by the community is a fantastic example of how a small bit of custom CSS can make a big difference.

The Challenge: Highlighting Subcollections in Your Horizon Menu

The original poster, MEZ_MUS, was working on their store using the Horizon theme. They had a nicely structured navigation menu, divided into multiple levels (Level 1, Level 2, and Level 3). Their goal was to make the names of their subcollections (which appeared at Level 2) stand out with a bold font. They even shared a couple of images to illustrate their current setup and their desired outcome:

Here’s a glimpse of what their navigation menu looked like:

And here’s an example of how they wanted it to look, with the subcollections in bold:

The Desktop Solution: A Simple CSS Snippet

Thankfully, a community member named Moeed jumped in with a super helpful solution. They provided a small snippet of CSS code designed to target those specific menu links and make them bold. Here’s the code:

a.mega-menu__link.mega-menu__link--parent {
    font-weight: bold !important;
}

MEZ_MUS tried it out and confirmed it worked perfectly for the desktop version, even affecting Level 2 and Level 3 menu items as desired. That’s the beauty of well-targeted CSS!

How to Implement This CSS in Your Shopify Store

Moeed provided two ways to add this code to your store. For most of us, especially if you're not a developer, the first option is usually the easiest and safest:

Option 1: Using the Theme Editor's Custom CSS Feature (Recommended)

  1. From your Shopify admin, go to Online Store > Themes.
  2. Find your Horizon theme and click Customize.
  3. In the theme editor, navigate to the Header section.
  4. Look for an option called Custom CSS (it might be at the very bottom of the section settings, or under 'Theme settings' depending on your theme version).
  5. Paste the CSS code into this field:
    a.mega-menu__link.mega-menu__link--parent {
        font-weight: bold !important;
    }
    
  6. Save your changes.

This method is great because it keeps your custom code separate and makes it easier to manage or remove if needed, without directly editing core theme files.

Option 2: Adding to your theme.liquid file (For those comfortable with code)

If you're more comfortable diving into your theme's code, you can also add this CSS directly to your theme.liquid file. Just remember to always duplicate your theme before making any code changes!

  1. From your Shopify admin, go to Online Store > Themes.
  2. Find your Horizon theme, click Actions > Edit Code.
  3. In the left-hand sidebar, find and open the theme.liquid file under the "Layout" directory.
  4. Scroll to the very bottom of the file, just above the tag.
  5. Add the following code:
    
    
  6. Save the file.

Here’s an image Moeed shared showing the result of this code:

What About Mobile Responsiveness?

After getting the desktop version sorted, MEZ_MUS had a smart follow-up question: “How can I do the same for mobile version?” This is a crucial point, as most of our customers are browsing on their phones these days!

Here's the mobile example MEZ_MUS shared:

While Moeed didn't provide a separate code snippet for mobile, MEZ_MUS later updated the thread with a happy note: “With some effort, The mobile version is working now as expected, thank you for your help.” This is great news!

Often, a well-written CSS rule like the one Moeed provided will apply across different screen sizes due to the responsive nature of modern themes. However, sometimes mobile menus use different CSS classes or structures. If you find the initial code doesn't work for mobile, you might need to inspect your mobile menu elements using your browser’s developer tools to find the correct class names, or wrap the CSS in a media query to target specific screen sizes.

The important takeaway here is to always test your changes on both desktop and mobile devices (and different browsers!) to ensure everything looks and functions as intended.

Why This Small Change Makes a Big Impact

Bolding your subcollection names might seem like a minor tweak, but it significantly improves readability and user experience. When customers can quickly scan and identify key categories, they're more likely to find what they're looking for, which means a smoother shopping journey and potentially higher conversion rates for you. It's these thoughtful little details that elevate a good store to a great one.

So, if you're using the Horizon theme and want to give your navigation a little extra polish, give this CSS snippet a try. A huge shout-out to Moeed for sharing this solution and to MEZ_MUS for bringing up a common customization need in the community. It just goes to show how powerful our Shopify community can be when we help each other out with these practical solutions!

Share:

Use cases

Explore use cases

Agencies, store owners, enterprise — find the migration path that fits.

Explore use cases