VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: Roccofx1 on April 10, 2016, 09:54:17 AM

Title: VM3 - How to display 2 related products per row?
Post by: Roccofx1 on April 10, 2016, 09:54:17 AM
Hi, I have Joomla 3.4.8 and VM 3.0.14

Each product page, shows the "related" products, but in previous virtuemart version .12, it was displayed in windowed shape showing 2 items per row; now in .14 it displays each related product one on top of the other, and it only changes to 2 per row when u make the screen smaller.

How to display 2 related products per row?

Thanks
Title: Re: VM3 - How to display 2 related products per row?
Post by: jenkinhill on April 10, 2016, 12:40:39 PM
In default VM templates use a css override:

.product-field-type-R {
    max-width: 200px;
}

Or whatever width value works best for you.

Or use Firebug if you are not using the default templates.  http://forum.virtuemart.net/index.php?topic=116620.0
Title: Re: VM3 - How to display 2 related products per row?
Post by: Roccofx1 on April 10, 2016, 23:52:04 PM
Thats exactly what i did Kelvyn.... :o