Collection image size on home page

Nziris
Tourist
5 0 1

Hello everybody,

I'm working on a project where I need to display a list of collections with images. However, I am having difficulty resizing the images to a smaller size. Despite my attempts to adjust the settings, the images are still too large and are disrupting the layout of my collection list.

Could someone please guide me on how to effectively reduce the size of images in a collection list? Any suggestions or code snippets would be greatly appreciated!

Thank you in advance for your help.

Sem Título.png

 

 

Replies 7 (7)

zarri
Shopify Partner
41 3 4

Hi, please share the link of your website, thanks! 

Nziris
Tourist
5 0 1

https://luvasonline.com/  with 2 collections are to big

Made4uo-Ribe
Shopify Partner
6381 1532 1902

Hi @Nziris 

Did you already solve this? Ive check your store and for me the images look good. If it not enought then you can check the code below. 

Made4uoRibe_0-1717592826350.png

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-list-wrapper.page-width.isolate.page-width-desktop.no-heading.no-mobile-link.section-template--22112291324248__collection_list_Et6kF3-padding .card__inner {
    width: 80%;
}

 

And Save. 

Result:

Made4uoRibe_1-1717592919686.png

 

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Nziris
Tourist
5 0 1

It only has the size I want when I place 3 collections but I only want 2 and in this case the images on the desktop are huge

 

Luvasonline.com

 

Made4uo-Ribe
Shopify Partner
6381 1532 1902

Like this? 

Made4uoRibe_0-1717594453164.png

Same Instruction. 

@media only screen and (min-width: 749px){
.collection-list-wrapper.page-width.isolate.no-heading.section-template--22112291324248__collection_list_Et6kF3-padding .card__inner {
    width: 80%;
    height: 80%;
}
}

And Save.

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Nziris
Tourist
5 0 1

i put 60% and are perfect size but no its in center

 

Sem Título.jpg

Nziris
Tourist
5 0 1

this is my website

https://luvasonline.com/

only have nice size when i put 3 collections but i just need 2