While displaying List Of Categories 3 categories comes in a row but I want only single category in a row. Can you please suggest how it can be achieved.
Thanks & Regards,
Samir
Setting the number of categories per row
-
- Phoca Newbie
- Posts: 6
- Joined: 16 Jun 2013, 07:51
-
- Phoca Newbie
- Posts: 6
- Joined: 16 Jun 2013, 07:51
Re: Setting the number of categories per row
I tried to accomplish this by editing phocadownload.css file
#phoca-dl-categories-box div.pd-categoriesbox {
width: 92%;
position: relative;
float: left;
margin: 1%;
padding: 1%;
}
Modified the width attribute to 92% from 28%. After doing so each categories were coming one below the other and not side by side (as expected), but I don't know why after editing this the folder icon beside the subcategory is no more visible.
Cab any one please help me to fix this. Thanks.
#phoca-dl-categories-box div.pd-categoriesbox {
width: 92%;
position: relative;
float: left;
margin: 1%;
padding: 1%;
}
Modified the width attribute to 92% from 28%. After doing so each categories were coming one below the other and not side by side (as expected), but I don't know why after editing this the folder icon beside the subcategory is no more visible.
Cab any one please help me to fix this. Thanks.
- Jan
- Phoca Hero
- Posts: 48584
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Setting the number of categories per row
Hi, maybe just remove the float attribute 
Jan

Jan
If you find Phoca extensions useful, please support the project