Categories view one per row

Phoca Gallery - image gallery extension
User avatar
bcraigie
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 28 Apr 2011, 03:20

Categories view one per row

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Categories view one per row

Post 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
If you find Phoca extensions useful, please support the project
User avatar
bcraigie
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 28 Apr 2011, 03:20

Re: Categories view one per row

Post 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?

:-)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Categories view one per row

Post 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
If you find Phoca extensions useful, please support the project
hiker
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 10 Jun 2024, 19:15

Re: Categories view one per row

Post by hiker »

I have the same issue and would love to get the code.
Post Reply