How to display collection's names under images

Topic summary

A Shopify store owner needed help displaying collection names beneath images on their main page, as only images were visible without labels. They also wanted to center the collection titles.

Solutions Provided:

  • Multiple users suggested adding CSS code to make collection names visible using .collection-list .card__content h3 { display: block !important; }
  • Different implementation methods were offered: adding code to theme.liquid, base.css, or the Custom CSS section in Theme Settings
  • The centering issue was addressed with .title-wrapper--no-top-margin { justify-content: center !important; }

Resolution:

The issue was successfully resolved using the Custom CSS approach suggested by Bang_T. The collection names now display properly beneath images.

New Issue:

During troubleshooting, an unexpected empty image appeared below the collections. The user was advised to create a separate thread for this new problem, leaving it unresolved in this discussion.

Summarized with AI on October 25. AI used: claude-sonnet-4-5-20250929.

Hello,

On my store’s main page down where the Collection List is, the images are displaying without any text. I would like each collection’s name to appear directly underneath its image so customers know which one they are viewing.

Additionally, I’d like the collection title to be positioned in the center. How can I achieve that?

Thank you in advance for your help!

Hey @Monness

Follow these Steps:

  1. Go to Online Store
  2. Edit Code
  3. Find theme.liquid file
  4. Add the following code in the bottom of the file above </ body> tag
<style>
.collection-list .card__content h3 {
    display: block !important;
}
.title-wrapper--no-top-margin {
    justify-content: center !important;
}
</style>

RESULT:

If I managed to help you then a Like would be truly appreciated.

Best,
Moeed

1 Like

Thank you so much! I have adjusted the title but I still need to work on collection names as they’re still not displaying.

Hello @Monness ,

Can you please copy the below code and paste it below the image tag?

{{ collection.title }}

Please check and let me know if this worked for you or not.

Hi, Where exactly do I paste it?

<p> {{collection.title}}</p>

I can’t find where to paste it.. Is it in the theme.liquid as well?

  • You can check the file which look something like
    collection-list.liquid
    • featured-collection.liquid

    • collection-grid.liquid

Hello @Monness

Go to Theme customize > Theme Settings > Custom CSS and paste this code

.collection-list .card__content h3 {
display: block !important;
}

2 Likes

Hi @Monness ,

Go to Online Store > Themes > Actions > Edit Code > base.css Add below code at the bottom of base.css file

.collection-list .card__content h3 {
    display: block !important;
}

Looks like I can’t save it for some reasons? Or am I doing it wrong? :grimacing:

Also I just now noticed an empty image below the collections? It wasn’t there yesterday :weary_face:

Worked! Thank you so so much!

1 Like

Happy to help @Monness !

1 Like

Do you maybe know why there’s an empty image below the collections? It appeared out of nowhere and I have no idea how to get rid of it

Hello @Monness

Please start new thread for this issue