Unlock Your Horizon Theme: Perfecting Dropdown Alignment and Adding Visual Carets

Hey there, fellow store owners! Ever felt like your Shopify theme's navigation is almost perfect, but just needs a little tweak to truly shine? That's exactly what a recent discussion in the Shopify Community tackled for users of the Horizon theme. Many store owners find themselves wanting that sleek, intuitive user experience that themes like Dawn offer right out of the box.

Our friend addywells kicked off a great thread, looking to upgrade their Horizon theme's dropdown submenus. Their goals were spot on:

  • Adding a subtle 'caret' or arrow next to menu items with submenus (like 'Support'), making it clear to users that more options await.
  • Ensuring the dropdown menu aligns perfectly underneath its parent category, with its background fitting snugly around the text, rather than sprawling across the page.

If these sound like your navigation woes, you're in good company. The Horizon theme, while robust, sometimes needs a little custom touch for its navigation. Let's dive into how the community solved this!

The Horizon Theme Navigation Challenge

Addywells's initial post perfectly captured the issue:

Screenshot 2026-05-26 at 7.39.41 PM

Default Horizon dropdowns can often appear misaligned or have oversized backgrounds. More importantly, without visual cues like carets, users might miss out on valuable submenu content, impacting their journey through your store.

Why "Custom CSS" Isn't Always the Answer

Addywells first tried adding the caret code to the theme's 'Custom CSS' section, only to be met with an "invalid property value: content" error. Community expert tim_tairli quickly clarified: "Yes, you can’t paste it into “Custom CSS” as it does not like the content: property at all." This is a common limitation for styling pseudo-elements (like ::after which we need for carets) in some theme editor CSS fields. It's a key detail that can halt your customization if you're unaware.

The Community-Backed Solution: Using Custom Liquid

The workaround for both dropdown alignment and the caret issue in the Horizon theme is to use the 'Custom Liquid' section. This allows for more direct code injection, bypassing the 'Custom CSS' limitations.

Step 1: Disable Horizon's Default Submenu Feature

This is crucial to prevent conflicts with your custom styling. As tim_tairli advised: "do not forget to change “Submenu feature” to None in Menu block settings in Header."

  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 your Header section.
  4. Look for the Menu block settings.
  5. Locate the "Submenu feature" option and set it to None.
  6. Save your changes.

Step 2: Add Core Dropdown Alignment and Styling Code

For the primary goal of aligning your dropdowns and having them fit the text, you'll need a more extensive CSS solution. Tim_tairli referenced these helpful community threads:

These links provide the necessary Liquid and CSS code snippets to override Horizon's default dropdown behavior. The common practice is to add a new 'Custom Liquid' section to your header (or an existing one) and paste this code there. This might involve editing your header.liquid file directly or using a dedicated Custom Liquid block in the theme editor.

Step 3: Integrate the Caret CSS into Your Custom Liquid

Now for the carets! This is the CSS that couldn't go into 'Custom CSS' due to the content: property.

  1. In the theme editor, locate the Custom Liquid section where you added the alignment code from Step 2.
  2. Paste the following CSS code for the carets. Tim_tairli suggested placing it "right above the line in that code," ensuring it's correctly nested.
.menu-list__link:is(button, [aria-haspopup]) .menu-list__link-title:after {
  transform: scaleY(0.5);
  display: inline-block;
  margin-left: 5px;
  content: "\22C1";
  font-size: 0.8em;
  transition: transform linear 0.1s;
}

.menu-list__list-item:hover  .menu-list__link-title:after {
  transform: scaleY(-0.5);
}

This code smartly adds a downward-pointing caret (\22C1) next to menu items with submenus, making it smaller for subtlety. When a user hovers, the caret smoothly flips (transform: scaleY(-0.5);), visually confirming the dropdown is active.

The Transformed Menu: A Visual Confirmation

With these steps, your menu should now feature elegantly aligned dropdowns and helpful carets, looking something like this:

Screenshot 2026-05-27 at 2.43.20 PM

Addywells's enthusiastic "Amazing this worked beautifully! Thank you!!!" truly validates this multi-step approach as a successful fix for Horizon theme navigation.

Remember, when tackling theme customizations, the Shopify community is an invaluable resource. Experts like tim_tairli provide specific, actionable solutions, while others like Moeed and devcoders remind us that sometimes, a direct look at your store's setup is the fastest way to troubleshoot. This Horizon theme fix is a fantastic example of how combining existing solutions with clever placement of custom code can elevate your store's user experience. Happy customizing!

Share:

Use cases

Explore use cases

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

Explore use cases