Shopify themes, liquid, logos, and UX
Hello! I am trying to remove the photos from the Collection List page without removing the text from the boxes. I found this solution, https://community.shopify.com/c/shopify-design/hide-the-image-on-my-collections-page/m-p/1568357 , however it appears to only hide the image, so it still makes the cards formatted incorrectly (with the text not centered and the boxes not square).
Changing between the styles "Standard" and "Card" seems to either put the text below, or stretch out the card, as the image is still there just not displayed. Is there a way to remove the image entirely without affecting the text?
Link to collections page (password: preubu)
https://cabinetofcards.com/collections
For reference, here is what it looks like with the custom code added and the Theme Setting style set to "Card" (Note the collections "ADV Expansion Pack", "Miracle of the Desert", and "Rulers of the Heavens" are the only ones with products in them and thus affected). I want to make them all look like the boxes on the top (like the collections "VS Series", "Web Series", etc.) so they are uniformly square with the text centered.
Another note: It seems the code only takes away the photo on the Collections List. Is there a way to remove it for all Collection List sections on pages as well? For example: https://cabinetofcards.com/pages/japanese-ex-era (this still shows photos)
Solved! Go to the solution
This is an accepted solution.
Hi @CabinetOfCards,
Please add code:
.collection-list__item .card {
display: flex;
position: relative;
align-items: stretch;
flex-direction: inherit !important;
}
.collection-list__item .card:before {
content: "";
width: 0;
height: 0;
padding-bottom: var(--ratio-percent);
}
Hope it helps!
yes, please try this code
1. Go to Online Store->Theme->Edit code
2. Asset->/base.css ->paste below code at the bottom of the file.
.collection-list-wrapper .card__inner {display: none;}
.card__content{align-items: center;}
Thank you for the reply! After adding the code (and taking out the other code from the other solution), it still seems to be showing the photos:
(Note, I also tried it with the other code from the other solution, but it still appeared the same as the photo from my first post)
Hi @CabinetOfCards,
Go to Assets > base.css and paste this at the bottom of the file:
.collection-list__item .card__inner {
display: none !important;
}
Hope it helps!
Thank you for the response and code! It seems to get rid of the images and doesn't have the same issue as the first image I showed. However, it seems like if all the collections in the row have products, it reduces the size of the card (see photo below -- this can be seen on mobile view). Not sure, but is there a way keep them all uniform (like all as square tiles of the same size) even if the other collections in the row have products in them?
Here is a link to a page where you can see it: https://cabinetofcards.com/pages/japanese-ex-era
(the top row of this page has products, the bottom row does not)
This is an accepted solution.
Hi @CabinetOfCards,
Please add code:
.collection-list__item .card {
display: flex;
position: relative;
align-items: stretch;
flex-direction: inherit !important;
}
.collection-list__item .card:before {
content: "";
width: 0;
height: 0;
padding-bottom: var(--ratio-percent);
}
Hope it helps!
Thank you so much this worked!
Hi, this works great, however my description text doesn't show now. Is there any way I can remove the image but keep the description text like it is in 'Accessories'
See below
Thanks
yes, please add this code
.collection-list__item .card__inner {
display: none;
}
How i can do the same for specific collection not all of the collections?
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025