VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: 2cool on January 22, 2019, 21:59:21 PM

Title: how to set subcategory items per row
Post by: 2cool on January 22, 2019, 21:59:21 PM
Hi, is it possible to set subcategories per row for parent categorie.
I have some with 2 items and some with 4 or 5.

Would be nice to to set this is menu item so it's always full width.

Did try different settings:
vm template front end settings, vm categorie view settings and joomla menu settings

using: Joomla! 3.9.2  virtuemart VirtueMart 3.4.3

Thanks,
Pas
Title: Re: how to set subcategory items per row
Post by: GJC Web Design on January 22, 2019, 22:07:30 PM
guess u have to do it programatically in the template

detect the number of subcats and set the div widths by that integer
Title: Re: how to set subcategory items per row
Post by: 2cool on January 22, 2019, 23:13:01 PM
Thanks,
But why is there a setting to set categorie items per row in joomla menu?

Regards,
Pas

Title: Re: how to set subcategory items per row
Post by: Jörgen on January 23, 2019, 00:02:40 AM
Joomla has it own categories, not to be confused with VM categorries. If there is a setting in the VM menu item, there is a priority, do not remember which one has the highest. Category, Item or VM menu setting.

Jörgen
Title: Re: how to set subcategory items per row
Post by: jenkinhill on January 23, 2019, 10:56:21 AM
Config order by Max:  forum.virtuemart.net/index.php?topic=137598.0