Solved

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

jehadz15
Tourist
4 0 3

Capture.PNG

 

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

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
5089 1215 1483

This is an accepted solution.

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:

Made4uoRibe_0-1704901453602.png

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!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


View solution in original post

Replies 5 (5)

kevinkarma55
Excursionist
30 1 6

do you mean two image in row? like this?

x x

x x

x x

x x

x

Skilled in building custom Shopify theme
jehadz15
Tourist
4 0 3

Capture.PNG

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

kevinkarma55
Excursionist
30 1 6

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

kevinkarma55_0-1704901582997.png

 

Skilled in building custom Shopify theme

Made4uo-Ribe
Shopify Partner
5089 1215 1483

This is an accepted solution.

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:

Made4uoRibe_0-1704901453602.png

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!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


jehadz15
Tourist
4 0 3

Thank you so much !