VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: seagul on October 20, 2012, 21:59:41 PM

Title: Maximum size of Image in Cart
Post by: seagul on October 20, 2012, 21:59:41 PM
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