How to Hide Collection Titles on Shopify Images (and Keep Them Clickable!)

Hey there, fellow store owners! Ever found yourself staring at your Shopify store, thinking, "This looks great, but I wish I could just hide that text under my collection images?" You're definitely not alone. It's a super common request, and it came up recently in the Shopify community forums in a thread started by a user named Lisa, who was trying to do just that – remove the text under her collection list images while keeping them perfectly clickable.

Lisa, like many of us, had tried a few code snippets she found online, but ran into a classic problem: either the text didn't disappear, or it did, but then her customers couldn't click on the collection images anymore! Frustrating, right? Losing that clickability is a big no-go for user experience. Luckily, the community jumped in with some fantastic advice, and I'm here to break down the best solutions for you.

The Challenge: Hiding Text Without Breaking Links

The core of Lisa's problem, and what many store owners face, is that simply using display: none; on the text element can sometimes remove the entire clickable area if the text is part of the link's structure. Or, sometimes, the CSS class names are different depending on your theme, making generic solutions hit-or-miss.

Here's what Lisa was seeing, with those collection titles sitting right below the images:

The Community Weighs In: Solutions That Work

When Lisa first posted, a few community members jumped in. topnewyork suggested a quick CSS snippet:

.collection-list .card__heading {
display: none !important;
 }

Lisa tried this, and it did hide the text! But, as she quickly found out, it also made the images unclickable. This is a common pitfall: if the heading element itself is part of the clickable link, setting display: none; removes it from the page flow entirely, taking the click functionality with it.

Another user, tim_tairli, offered a slightly different approach, linking to a similar thread for the Dawn theme. This solution uses opacity: 0; instead of display: none;, which makes the element invisible but keeps it in the page's layout, preserving clickability. Here's the code they shared:

.collection-list__item .card__content {
  opacity: 0;
  position: absolute;
  align-items: center;
  height: 100%;
}

This is a clever workaround, and tim_tairli even provided some helpful before/after images:


The Safest & Most Universal Approach: Custom CSS in the Theme Editor

The most robust and user-friendly solution came from WebsiteDeveloper, who highlighted that different themes (like Dawn, Sense, Refresh, etc.) use varying class names for their collection titles. They provided a "universal" bit of CSS that targets several common class names, and crucially, suggested placing it in the Shopify Theme Customizer's "Custom CSS" section. This is generally the safest way to add custom styles because it doesn't modify your core theme files, making your changes resilient to theme updates.

Here’s how you can implement this solution to hide your collection titles while keeping your images fully clickable:

  1. Go to your Shopify Admin: From your dashboard, navigate to Online Store > Themes.
  2. Customize Your Theme: Find your active theme (it usually says "Currently active theme") and click the Customize button.
  3. Find Your Collection List Section: In the theme customizer, navigate to the page where your collection list is displayed (e.g., your homepage). Then, in the left-hand sidebar menu, click directly on the Collection list section.
  4. Access Custom CSS: In the right-hand settings panel for that section, scroll all the way down. You should see a section labeled Custom CSS.
  5. Paste the Code: Copy and paste the following CSS code into the Custom CSS box:
    .collection-card__title,
    .card__heading,
    .collection-list-title {
    display: none !important;
    }
  6. Save Your Changes: Click the Save button in the top right corner of the customizer.

This code snippet is designed to target the most common class names Shopify themes use for collection titles. By using display: none !important; on these specific title elements, you're telling the browser to hide them visually without removing the parent link that makes the entire card clickable. The !important tag ensures your custom style overrides any default theme styles.

If, for some reason, this specific code doesn't work perfectly for your unique theme (which can happen, as themes vary greatly), you could try tim_tairli's opacity: 0; method mentioned earlier. The key difference is that opacity: 0; makes the text transparent but still present in the document flow, whereas display: none; removes it entirely. For most cases, WebsiteDeveloper's approach is more direct and effective for simply hiding the text.

Why This Matters for Your Store

Clean, image-focused collection lists can significantly enhance your store's aesthetic and user experience. By removing extraneous text, you allow your product photography to shine, creating a more visually appealing and streamlined browsing experience. This kind of thoughtful design can lead to better engagement and a more professional look for your brand. It's one of those small tweaks that can make a big difference in how customers perceive your Shopify store.

It's awesome to see the community come together to solve these common design challenges. Lisa's original question sparked a great discussion, and the collective wisdom provided a solid, reliable solution. Remember, when you're making these kinds of customizations, always test them thoroughly on your live site (or even better, on a duplicate theme first!) to ensure everything works as expected. Happy customizing!

Share:

Use cases

Explore use cases

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

Explore use cases