Hi
I made a view. Please have a look:
http://www.bierglaeser.ch/index.php/test
In this view I show the subcategories from the maincategory "Kanton" by activating the parameters of "categories above Images" in the "category view" option settings.
Kanton ist the category and the entries (Zug, Glarus... ) are the subcategories.
I need to display this subcategories in three colums.
Example:
Zug Glarus Bern
Baselland Baselstadt Wallis
....
I guess, a CSS code is needed to tell Phoca, that it has to display the subcategories from left to right in three colums, in an descending order.
Has anybody an idea ?
Joomla 3.4.1 | Phoca 4.1.2
Yves
Categorie View CSS/PHP? entry for three colums
-
yves63
- Phoca Member

- Posts: 12
- Joined: 08 Jul 2013, 21:22
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Categorie View CSS/PHP? entry for three colums
Hi, I think, you need to change the CSS:
- to add every item to float box
- set the float box width to 33% so three columns will be displayed.
Jan
- to add every item to float box
- set the float box width to 33% so three columns will be displayed.
Jan
If you find Phoca extensions useful, please support the project
-
yves63
- Phoca Member

- Posts: 12
- Joined: 08 Jul 2013, 21:22
Re: Categorie View CSS/PHP? entry for three colums
Hi,
Guess, this additional code in default.css should work.
.pg-cvcsv-name{
float: left;
width: 25%;
}
I'll try at home..
Guess, this additional code in default.css should work.
.pg-cvcsv-name{
float: left;
width: 25%;
}
I'll try at home..
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Categorie View CSS/PHP? entry for three colums
Ok
If you find Phoca extensions useful, please support the project