Horizon Theme Carousel Links Not Working on Mobile? Here's the Quick Fix!
Hey everyone,
As a Shopify migration expert and someone who spends a lot of time in the Shopify community forums, I often see recurring themes (pun intended!) that can trip up even experienced store owners. One common headache? Mobile responsiveness, especially when it comes to interactive elements. It’s super frustrating when something works perfectly on your desktop, but then you pull out your phone, and… nada.
I recently came across a great little discussion thread that perfectly illustrates this, and it’s one of those quick fixes that can make a huge difference to your customer experience. Our fellow store owner, tifholmes, using the sleek Horizon theme, was running into a snag with their Carousel collections menu. They’ve got a fantastic fine art print shop, and these carousels are key for browsing different photography collections. The problem? Those collection cards, which should link to individual collections, just weren’t clickable on mobile Safari on their iPhone. ![]()
The Mobile Safari Mystery (and the iOS Fun Fact!)
Tifholmes initially thought it might be an isolated Safari issue, especially since they tried another mobile browser on their iPhone and found the same problem. This led to a bit of confusion – if it’s not just Safari, what gives?
This is where our community member, tim_1, swooped in with a really helpful “fun fact” that’s worth remembering: all browsers on iOS devices (yes, even Chrome or Firefox if you download them) use the same underlying rendering engine as Safari. So, while you might see a different browser icon, under the bonnet, it’s still Safari doing the heavy lifting. That explains why the issue persisted across different browser apps on tifholmes’s iPhone!
The Simple Fix: A Quick CSS Tweak
The good news is that the solution tim_1 provided was incredibly straightforward, proving that sometimes, the most frustrating problems have the simplest fixes. It all came down to a little CSS snippet that adjusts the z-index of the collection card links. In web development, z-index basically dictates the stacking order of elements on a page. Think of it like layers of paper on a desk; a higher z-index means an element is "on top" and more likely to be interactive.
It seems that on mobile, some other element might have been inadvertently sitting on top of the collection links, making them unclickable. By boosting the z-index of the .collection-card__link, we ensure those links are always on top and ready to be tapped.
Here's the code you'll need:
.collection-card__link {
z-index: 2;
}
How to Implement This Fix in Your Shopify Store
Applying this fix is super easy, even if you’re not a coding wizard. Here’s a step-by-step guide:
- Log in to your Shopify Admin: Go to your store’s backend.
- Navigate to Themes: In the left-hand menu, click on Online Store, then select Themes.
- Find Your Horizon Theme: Locate your active Horizon theme. If you’re testing this, it’s always a good idea to duplicate your theme first, just in case!
- Customize Your Theme: Click the Customize button next to your theme. This will open the theme editor.
- Access Theme Settings: On the left sidebar of the theme editor, look for Theme settings (often represented by a gear icon or at the bottom of the sections list).
- Find Custom CSS: Within Theme settings, you should see an option for Custom CSS (sometimes called "Advanced CSS" or similar). Click on it.
- Paste the Code: In the Custom CSS box, paste the code snippet provided above:
- Save Your Changes: Don’t forget to hit the Save button in the top right corner!
.collection-card__link {
z-index: 2;
}
After saving, clear your browser cache on your mobile device (or try an incognito/private browsing window) and test out your carousel collection links. Tifholmes confirmed that this fix worked perfectly for them, saying, "This works! Thank you so much! Also, thanks for the info re/ iOS browsers." ![]()
Why Small Fixes Like This Matter
This little z-index tweak might seem minor, but it highlights a crucial aspect of running an online store today: mobile experience is paramount. Google prioritizes mobile-first indexing, and your customers are increasingly shopping from their phones. If your navigation or key calls to action aren't working seamlessly on mobile, you're not just creating frustration; you're potentially losing sales.
It’s a great reminder that even with robust themes like Horizon, sometimes unique combinations of elements or specific browser behaviors can throw a wrench in the works. That’s why communities like the Shopify forums are so invaluable – real store owners helping each other out with practical, tested solutions. Keep an eye on your mobile site, engage with the community, and don't be afraid to try a little custom CSS when needed. Happy selling!