Shopify themes, liquid, logos, and UX
hi all,
How do i make the product image smaller in collection pages?
I want to make it "smaller", not to change the "aspect ratio" of image.
Thanks
Just clarification, in the collection pages only you like to change or the collection product in your home page?
Do you mean like this right?
This is the code I used.
From your Shopify admin dashboard, click on "Online Store" and then "Themes".
Find the theme that you want to edit and click on "Actions" and then "Edit code".
In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
.collection.section-template--21066066460956__77e3db68-8203-461b-b75f-6dc42f24feeb-padding .media > *:not(.zoom):not(.deferred-media__poster-button) {
position: absolute;
top: 15%;
left: 15%;
height: 70%;
width: 70%;
}
And Save.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
hi
Sorry for the confusion. I want to make each product image for both in my home page and collection page smaller only in Mobile version.
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