VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: jtbworld on March 03, 2025, 10:40:39 AM

Title: Number of products per row
Post by: jtbworld on March 03, 2025, 10:40:39 AM
How to change number of products per row to 1.
See https://jtbworld.com/component/virtuemart/ where it shows 2 per row and overlaps with right column.
Also when clicking on a product, it still shows all products.
Title: Re: Number of products per row
Post by: iWim on March 03, 2025, 16:20:24 PM
You can set the number of products per row in VirtueMart > Configuration > Templates and/or in the settings of the menu-item.

The products overlapping with the right column is your templates css.
Maybe contact the template builder.

When clicking on a product, the url changes to that of the product, but seems to (re)load the product-view page.
I don't know why.
Title: Re: Number of products per row
Post by: jtbworld on March 08, 2025, 12:24:27 PM
I vset the number of products per row to 1 to no avail. Any ideas?
Title: Re: Number of products per row
Post by: jtbworld on March 08, 2025, 12:57:40 PM
Looks like <div class="row gy-4 g-xxl-5"> in \components\com_virtuemart\sublayouts\bs5-products.php is causing this. Maybe a conflict with "row". Changing to <div class="vm-row gy-4 g-xxl-5"> solved it.