Post by mreuro666 » Mon May 19, 2014 6:35 am

Hello

Which class can I change the width and height to 0 so I can set the width and height of the product listing image size from css.

I am also wanting to add the product discount amount in dollars and as a percentage.

New member

Posts

Joined
Tue Mar 11, 2014 12:27 pm

Post by Xyph3r » Mon May 19, 2014 7:29 am

I can't undesstand what you're after. The size of the image is set from admin not from css. However you can force the listing image size from css.

Code: Select all

.product-list > div .image img {
  width (or max-width) : ---px;
  height: ---px; (or auto if you want the image to be resized proportionally)
}
.product-grid > div .image img {
  width: ---px;
  height: ---px; (or auto if you want the image to be resized proportionally)
}

ImageImageImage
Opencart Templates, Modules, Themes & Custom Development | ShopThemer


User avatar
Active Member

Posts

Joined
Sun Feb 10, 2013 1:08 am

Who is online

Users browsing this forum: No registered users and 21 guests