VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: blondie63 on December 05, 2014, 18:12:46 PM

Title: Product layout changed from 2.6.x
Post by: blondie63 on December 05, 2014, 18:12:46 PM
I'm using latest v3.0.2 and i've found a little issue with default template
I've attached a screenshot

You can see that the boxes are different sizes, not very nice..

How can i fix it?

Thanks for help

[attachment cleanup by admin]
Title: Re: Product layout changed from 2.6.x
Post by: jenkinhill on December 05, 2014, 18:22:49 PM
That's the result of landscape vs portrait thumbs. Likely fix is to add a minimum height to .vm-product-media-container equal or slightly greater than your portrait image maximum height.

Firebug would privide help.  http://forum.virtuemart.net/index.php?topic=116620.0
Title: Re: Product layout changed from 2.6.x
Post by: blondie63 on December 05, 2014, 19:04:57 PM
Thanks very much, i've fixed it adding this "min-height: 100px;"  :)

Is there a way to avoid the render of empty containers?
for example, i'm using virtuemart as catalog and i don't need price and add to cart but i see empty row..

thanks
Title: Re: Product layout changed from 2.6.x
Post by: jenkinhill on December 05, 2014, 20:06:48 PM
You can do that with template overrides to remove the divs, or display:none; in css