Page 1 of 1

columns in category

Posted: 16 Feb 2017, 16:34
by web24
hi,
is it possible to have 2 or 3 columns in category view?
for example: i have categories and in each of them are more than 30 article, inow i want to have 3 colums with each of them around 10 articles.
i only can find how much articles i want to display on the site but in one column.

thx
geri

Re: columns in category

Posted: 16 Feb 2017, 19:57
by Jan
Hi, in such case the view output needs to be customized:

components/com_phocadocumentation/views/category/tmpl/default.php (or default_bootstrap.php)

Jan

Re: columns in category

Posted: 17 Feb 2017, 10:18
by web24
hi jan,
i would do this but i dont know enough .php so could you be so kind an can you please explain it a little more for me?

i think the changes should be around row 80 (Articles) in default.php but what???

thx
geri

Re: columns in category

Posted: 19 Feb 2017, 19:12
by Jan
Hi, these changes should be more html and css than php. And depends on which CSS library you will use (own, bootstrap 2, 3 or 4)

In the default.php you can customize the html. E.g. if you use some of bootstrap library, you should do columns with help of this library :idea:

Jan