Page 1 of 1

Category View in Rows instead of columns

Posted: 07 Mar 2017, 17:48
by aran.gibbs
Hi,

Love this component!

I have a site I'm building it into at the moment and the category view currently show in columns with the sub-cats under each. Is there a way I can have each category on its own row rather than column.

Current Version: https://www.sos-webdesign.co.uk/current.png
Desired Version: https://www.sos-webdesign.co.uk/desired.png

I believe the layout of this page is controlled from com_phocadownload/views/categories/tmpl/default.php but I don't know what in there to change to make them show as i need them.

Please help.

Thanks,

Aran

Re: Category View in Rows instead of columns

Posted: 07 Mar 2017, 20:33
by christine
Hi Aran,

to see it in real, would be easier (to check e.g. with firebug-inspector). Therefore just an idea.

phocadownload.css / line 242 (from demo).
#phoca-dl-categories-box div.pd-categoriesbox {
width: 28%;
position: relative;
/* float: left;*/
margin: 1%;
padding: 1%;
}
commented out: see red.
or: width: 100%;

Kind regards, Christine

Re: Category View in Rows instead of columns

Posted: 08 Mar 2017, 10:54
by aran.gibbs
Christine,

You are a STAR.. thank you very much that worked like a charm!

Aran

Re: Category View in Rows instead of columns

Posted: 08 Mar 2017, 20:43
by christine
Hi Aran,

thanks for your information.

Kind regards, Christine