Liquid, JavaScript, themes, sales channels
Hi! Pretty new to Shopify and in the process of building out my website.
I noticed when I added multiple items to the cart (desktop) the product images are taking up too much room.
Is there a way to constrain the width/height of the product image and it will scale to the appropriate size? Ideally, a thumbnail size would be best. I don't want to cart length too long.
I'd love to make checking out for our customers as easy and as little scrolling as possible.
Any help would be greatly appreciated!
Sorry you are facing this issue, it would be my pleasure to help you.
Welcome to the Shopify community!😊
Thanks for your good question.
Please share your site URL,
I will check out the issue and provide you a solution here.
hello @melaina
Please provide website url and if your store is password protected then also provide password So I will check and provide a solution here.
Hi @Kinjaldavra,
My store isn't live yet so I will send you the password.
lustrewear.myshopify.com
Thanks!
Mel
Please follow the steps:
- Step 1: Go to Online store > Themes > Actions > Edit code.
- Step 2: Go to Asset > theme.scss.liquid and paste this at the bottom of the file:
@media screen and (min-width: 769px){
.cart-product-image {
width: 30% !important;
}
}
hello @melaina
please Go to Online Store->Theme->Edit code then go to assets/theme.css ->paste below code at the bottom of the file.
@media screen and (min-width: 769px){
.template-cart .cart-product-image {
width: 30% !important;
}
}
In the Shopify version "Dawn" that I recently uploaded there is no file called “theme.css” to insert this code. I tried to insert it in "base.css", but nothing changed. Would you let me know where this code should be inserted in this version?
Hi @KetanKumar
Thank you so much for your offer, I feel bad though as you are already offering to help with another issue on a different thread.
lustrewear.myshopify.com
I sent you the password in a private message.
Thanks!
Melaina
i can see proper image please add this top 2 checkout one hide
.grid--full.cart-header.medium-down--hide.js-cart-hide-on-empty {
display: none;
}
Please send your site and if your site is password protected, please send me the password. I will check it for you
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024