Collection image size on home page

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.

1 Like

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

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.

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:

this is my website

https://luvasonline.com/

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

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

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

Like this?

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.

1 Like

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