Hi,
I`m sorry but I have another question. Recently all the posts of this forum are mine.
I tried to remove the white frame of the pictures in Shopping Cart but I can’t find the solution.
Usually to do do this, I’m adding this code:
->keepAspectRatio(true)->keepFrame(false)
But where can I change this for the shopping cart?
I’ve attached two pictures to show where I’m having this problem.
Thank you very much
Juan
4 answers
Hi jafc76,
You can try to remove this white frame using css as following
Open the file of skin/frontend/default/jm_ores/css/theme.css you added this css rule
HTML Code:
table.cart-table .product-image img { border: none !important; padding: 4px; background:none !important; }
I hope that should help !
After to add that code, the grey frame dissapears but I still have the white background.
What I wanna make is to adjust the frame to the size of the picture to don’t see the white background or if I can change that white background to black, maybe is ok too.
Thanks!
Juan
I could find the solution so now is working fine.
What I did is to go to:
app/design/frontend/base/default/template/checkout/cart/sidebar/default.html
and
app/design/frontend/base/default/template/checkout/cart/item/default.html
and add the code:
->keepAspectRatio(true)->keepFrame(false) and remove width="xx" height="xx" in the right place.
Thank you very much!!!
Juan
Okay mate, Glad to hear that it got fixed !