I’m using the impulse theme and my images have a slightly custom size (not entirely square). How can I adjust the image in the cart drawer and cart page to fit my product images? Thanks!
url: shopaiti.com, password: lilgoldgal5
Issue: In the Impulse theme, product thumbnails in the cart drawer and cart page didn’t fit non‑square images properly (screenshots provided).
Solution: Edit Online Store > Edit Code > theme.liquid and add a code snippet before the tag to adjust image fitting. The exact snippet isn’t shown in the thread, but the change corrected thumbnail display.
Result: The original poster confirmed the fix worked for the cart drawer/page (after image shared).
Follow-up: The user asked if the same could be applied to the checkout page.
Limitation: Checkout customization isn’t allowed unless the store is on Shopify Plus; code changes won’t affect the checkout.
Status: Resolved for cart/cart drawer; not applicable to checkout without Shopify Plus. Discussion closed with acknowledgment.
I’m using the impulse theme and my images have a slightly custom size (not entirely square). How can I adjust the image in the cart drawer and cart page to fit my product images? Thanks!
url: shopaiti.com, password: lilgoldgal5
Hey @ashleerae
Follow these Steps:
Go to Online Store
Edit Code
Find theme.liquid file
Add the following code in the bottom of the file above tag
RESULT:
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Shopify doesn’t allows changes in the checkout page unless you’re using Shopify Plus so any code will not work on the Checkout page.
Best Regards,
Moeed
Okay yeah that’s right - thank you for your help!
Thank you for your reply. I’m glad to hear that the solution worked well for you. If you require any more help, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.