How do I make my product variations 2:3 portrait and smaller

MY STORE How do I make it 2:3 instead of those big boxes please help !! and thank you

1 Like

do you mean two image in row? like this?

x x

x x

x x

x x

x

No sir, I want each variant to not be a 1:1 square but a 2:3 portrait and also smaller! thank you

1 Like

Hi @jehadz15

The curent size of the Variant Image are 60x60.

Check this one.

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:

.media-swatch {
    width: 50px;
    height: 70px;
}

And Save.

Result:

If its not working, you add !important.

.media-swatch {
    width: 50px !important;
    height: 70px !important;
}

And Save.

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

2 Likes

smaller will allow more item in each row and will shortage height of the container, how about this: I adjust width from 60px to 40px and made 2:3 ratio

Thank you so much !

1 Like