Shopify Account Dropdown Mystery: Why It Shifted Right on Horizon & How to Fix It
Hey store owners! Have you ever woken up, checked your Shopify store, and noticed something just… wasn't quite right? That's exactly what happened to RachidBo, a store owner using the Shopify Horizon theme, and it sparked a really interesting discussion in the community that I wanted to share with you all.
RachidBo's problem was simple but frustrating: the customer account login dropdown, which used to appear neatly under the account icon, suddenly started popping up all the way on the far right edge of the screen. This was happening on the Ride theme (which is based on Horizon) without any recent modifications or active apps. Naturally, the first thought was, "Is this a bug? Did I break something?"
The Mystery of the Shifting Dropdown
Take a look at what RachidBo was seeing:




As you can see, the login prompt was detached and awkwardly positioned. This wasn't just a visual glitch; it impacted user experience, making the site feel less polished.
The Community Jumps In: Initial Troubleshooting
When RachidBo posted about this, the community, including folks like Mustafa_Ali, VikashJ, and even a Shopify staff member, jumped in to help diagnose. They suggested some excellent first steps that are always good to remember when you encounter unexpected theme behavior:
- Check Theme Version & Updates: Has your theme updated recently? Sometimes platform or theme updates can introduce changes.
- Test an Untouched Copy: Add a fresh copy of your theme (don't publish it!) from the Shopify Theme Store and see if the issue persists. This helps rule out any existing customizations.
- Browser & Cache: Always test in an incognito window or a different browser to rule out cached assets messing things up.
- Developer Tools: Check for JavaScript errors in your browser's developer console.
- Header Settings: Look for any account/login display style settings in your theme's Header section.
RachidBo confirmed that Horizon is a Shopify-developed theme, which made the possibility of a platform-level change even more likely.
The "Aha!" Moment: It's Not a Bug, It's a Feature (Kind Of)
After some digging, RachidBo got an update directly from the Shopify Team. The big reveal? "It seems that this current layout is the latest standard positioning of the account login prompt."
That's right! What looked like a bug was actually a deliberate, platform-wide change. Shopify had updated the default positioning of the shopify-account login element, which isn't directly part of your theme's code, but a core Shopify component. So, disabling apps or checking theme settings wouldn't necessarily revert it.
Bringing it Back: A Community-Provided CSS Solution
While Shopify's team confirmed the new standard, many store owners, like Ploqo, felt the old positioning under the icon was better for user experience. Ploqo, who also experienced the same issue (as shown below), came up with a fantastic CSS snippet to move the dropdown back to its original, more intuitive spot.

Here's how Ploqo fixed it, and how you can too:
Step-by-Step Instructions to Reposition the Account Dropdown
This fix uses a Custom Liquid section to inject some CSS. This is a great way to make small style tweaks without diving deep into your theme's code files.

1. From your Shopify admin, go to Online Store > Themes. 2. Find your current theme (e.g., Horizon, Ride) and click Customize. 3. In the left panel of the theme editor, scroll down to the Footer group. 4. Click Add section and choose Custom Liquid. 5. Paste the following code into the Liquid code box:
6. Click Save in the top right corner.

This CSS snippet specifically targets the shopify-account component and uses modern CSS positioning (anchor-name and position-anchor) to ensure the dropdown aligns perfectly under its trigger icon, especially on wider screens (min-width: 751px).
RachidBo's Final Discovery: The Importance of Custom Code Audits
Here's where RachidBo's story takes another interesting turn. After all the troubleshooting and the Shopify team's input, RachidBo found their own "SOLVED!" moment. It turned out they had a custom CSS snippet tucked away in their files that was causing the problem in conjunction with Shopify's new default positioning:
shopify-account::part(dialog) {
right: 0 !important;
left: auto !important;
transform: none !important;
}
This specific CSS forced the dialog to the far right. Once they removed this conflicting code, the dropdown behaved as Shopify now intended (which, remember, is still different from the old default, but at least not off-screen!). This is a fantastic reminder that if you've ever added custom code, it's always worth reviewing it when new platform updates roll out.
Key Takeaways for Your Store
This whole discussion highlights a few crucial points for any Shopify store owner:
- Shopify is Always Evolving: Platform updates can subtly change how elements behave, even if your theme hasn't been touched. What seems like a bug might be a new standard.
- The Community is Your Friend: Don't hesitate to reach out to the Shopify community. Often, someone else has experienced the same issue or has a clever solution.
- Custom Code Requires Vigilance: If you've got custom CSS or Liquid, it's a good idea to periodically review it, especially after major Shopify updates, as it might conflict with new default behaviors.
So, if your account dropdown has been playing hide-and-seek on your Horizon or Ride theme, you now have the tools and insights from the community to either embrace Shopify's new standard or bring it back home right under that account icon. Happy customizing!