Page 1 of 1

Categories view one per row

Posted: 28 May 2024, 07:07
by bcraigie
Hello Jan. I'm upgrading my Joomla 3 site to Joomla 5. In the Joomla 3 site (phoca 4.1.2), I had the "Categories View - Legacy Settings" which let me set a box width of 90% and number of columns = 1.

https://imgur.com/rJvK5UO

Thus I was able to create this layout - one category per row.

https://imgur.com/pLdLQT3

But now using J5 (phoca 5.0.0) I cannot create the same layout. This is what I get:

https://imgur.com/u9EjQUC

Is there a way I can get one category per row like the old site please? :-)

Thanks
Brian

Re: Categories view one per row

Posted: 28 May 2024, 15:26
by Jan
Hi, as web changed dramatically, all the obsolete and legacy options were removed. Now, all the changes regarding design should be done in CSS. Phoca Gallery is styled by flexbox, so it shoul be not difficult to e.g. set one category per row. Or the second solution is to do a template override in Joomla (in case the html needs to be changed) :idea:

Jan

Re: Categories view one per row

Posted: 31 May 2024, 07:22
by bcraigie
Hello Jan

I have figured out the CSS for this. Perhaps it would be useful to others. How can I share the css file with you?

:-)

Re: Categories view one per row

Posted: 03 Jun 2024, 16:12
by Jan
Hi, yes, this will be great, you can add this CSS here - if it is small, direct here as code, if this is large, maybe a link to some external code website like github, etc. :idea:

Thank you, Jan

Re: Categories view one per row

Posted: 10 Jun 2024, 19:17
by hiker
I have the same issue and would love to get the code.