L.s.,
The 'normal' categorie-view showes the categories like this:
1987 (1)
1988 (2)
1989 (6)
1990 (6)
....
...and so on.
I would like tho chanche tthat in:
1987 (1) 1988 (2) 1989 (6)
1990 (6) ....
....and so on.
How do I changes the list from one column to three of four columns?
With kind regards,
Ronald de Waal
Layout category-view
- Jan
- Phoca Hero
- Posts: 47887
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Layout category-view
Hi, you can do it per CSS styling, e.g. adding float attributes to the items, see similar posts in the forum, where there are guides for doing it.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 18
- Joined: 19 Aug 2013, 20:17
Re: Layout category-view
Hi Jan,Jan wrote:Hi, you can do it per CSS styling, e.g. adding float attributes to the items, see similar posts in the forum, where there are guides for doing it.
Jan
After severel houres searching and reading on the forum I did not succeed in finding a sollution for my problem. I understand that I have to put some CSS-commands in the file custom.css, but I did not found which commands. I tried the folowing code:
#phoca-dl-sections-box .sections {
margin:5px;
padding:5px;
border: 1px dotted #CCCCFF;
width:30%!important;
position:relative;
float:left;
}
But....whithout succes. Perhaps you can give me a 'hand'.
With kind regards,
Ronald de Waal
-
- Phoca Member
- Posts: 18
- Joined: 19 Aug 2013, 20:17
Re: Layout category-view
L.s.,
Adding the folowing code to custom.css wil do:
#phoca-dl-categories-box .pd-subcategory,
#phoca-dl-category-box .pd-subcategory {
background: transparent url('images/folder.png') 0 center no-repeat;
width: 10%
position: relative;
float: left;
margin: 1%;
padding: 0% 3%;
}
With kind regards,
Ronald de Waal
Adding the folowing code to custom.css wil do:
#phoca-dl-categories-box .pd-subcategory,
#phoca-dl-category-box .pd-subcategory {
background: transparent url('images/folder.png') 0 center no-repeat;
width: 10%
position: relative;
float: left;
margin: 1%;
padding: 0% 3%;
}
With kind regards,
Ronald de Waal
- Jan
- Phoca Hero
- Posts: 47887
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Layout category-view
Hi, thank you for the guide.
Jan
Jan
If you find Phoca extensions useful, please support the project