How to adjust the product image size of collection pages (Dawn scheme)

How to adjust the product image size of collection pages (Dawn scheme)

jessica_0430
Excursionist
59 0 8

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

 

jessica_0430_0-1716314192475.png

 

Replies 2 (2)

Made4uo-Ribe
Shopify Partner
10038 2387 3014

Hi @jessica_0430 

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? 

Made4uoRibe_0-1716315484631.png

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!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
jessica_0430
Excursionist
59 0 8

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.