How can I resize a large image in my cart for PC view?

Hello,

Can you provide me the css code needed for this :

I want this image to look smaller on PC, on mobile its perfect.

https://neon-mood.nl/cart

Thanks !!

1 Like

Hello @vseazon

I would like to give you some recommendations to support you :

  1. Go to Online Store->Theme->Edit code

  2. Open your theme.liquid theme file

  3. Paste below code before :


This css will allow images on a maximum of 550px , you can increase or decrease if you want

Hope my recommendation can works and support for you!

Kind & Best regards!

GemPages

Thanks ! and do you know why I don’t work for this one ? https://xn–mon-non-personnalis-fzbo.fr/cart

1 Like

@vseazon

Please use the below css code:


Because each store, cart page is not the same, so the css code also needs to be adjusted

@vseazon

can you try this code

  1. Go to Online Store->Theme->Edit code
  2. Asset->/theme.scss.liquid->paste below code at the bottom of the file.
.cart__row + img {max-width: 768px;}