Page 1 of 1

Categorie View CSS/PHP? entry for three colums

Posted: 10 May 2015, 21:39
by yves63
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

Re: Categorie View CSS/PHP? entry for three colums

Posted: 11 May 2015, 00:25
by Jan
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

Re: Categorie View CSS/PHP? entry for three colums

Posted: 11 May 2015, 09:00
by yves63
Hi,

Guess, this additional code in default.css should work.

.pg-cvcsv-name{
float: left;
width: 25%;
}

I'll try at home..

Re: Categorie View CSS/PHP? entry for three colums

Posted: 14 May 2015, 00:37
by Jan
Ok