News:

Support the VirtueMart project and become a member

Main Menu

Maximum size of Image in Cart

Started by seagul, October 20, 2012, 21:59:41 PM

Previous topic - Next topic

seagul

Hi there,

in my shop I have product images with just 10px width and 120px height.
In my cart they turn huge!

This is because in the CSS you set a width of 45px for images in the cart. So with my images with just 10px width it is resized to 45px in width. Then the height is about 500px. Looks not so nice in the cart  ;).

So, in components/com_virtuemart/assets/css/vmsite-ltr.css you line 47 should change the following and remove the widht:45px;
span.cart-images img {
    max-height: 45px;
    max-width: 45px;
}


Cheers,
Seagul