News:

Support the VirtueMart project and become a member

Main Menu

VM3 - How to display 2 related products per row?

Started by Roccofx1, April 10, 2016, 09:54:17 AM

Previous topic - Next topic

Roccofx1

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

jenkinhill

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
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Roccofx1