Subcategory View - Columns? [Solved]

Phoca Download - download manager
jsg01
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 22 Aug 2017, 05:13

Subcategory View - Columns? [Solved]

Post by jsg01 »

Is there a way to change the subcategory view into columns?
Right now I have the main folder that shows the categories in columns, but then once I get into a subcategory it shows all the folders in there in a list.
I'd rather display them in columns than in list format -- I like the way the page looks, but I want the list in column format.

Example of how it looks now:
[Main download folder - displayed in 3 columns]
Folder A-----------Folder B-----------Folder C

(click on folder A)
  • Subcategory of Folder A - 1
  • Subcategory of Folder A - 2
  • Subcategory of Folder A - 3
I tried checking the forum but the only posts were old and suggested looking at the theme page in documentation but that doesn't seem to help me with this at all.

Thanks in advance
Last edited by jsg01 on 31 Aug 2017, 20:22, edited 1 time in total.

Tags:
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: Subcategory View - Columns?

Post by christine »

Hi jsg01,

in generell, it belongs to template etc. And/or with template override.
You could try with this code:
#phoca-dl-categories-box .pd-subcategory,
#phoca-dl-category-box .pd-subcategory {
display:inline-block;
}
Kind regards, Christine
jsg01
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 22 Aug 2017, 05:13

Re: Subcategory View - Columns?

Post by jsg01 »

Thank you Christine, that helped.
Is there a way to limit how many are shown before it makes a new line? For example, 5 categories/columns per line
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: Subcategory View - Columns?

Post by christine »

Hi,
jsg01 wrote: 30 Aug 2017, 23:54 Is there a way to limit how many are shown before it makes a new line? For example, 5 categories/columns per line
this also belongs to template / number of letters/characters / width of content-container / bootstrap? / or e.g. to increase distance with: padding-left:20px; etc.

Kind regards, Christine
Post Reply