Categorie View CSS/PHP? entry for three colums

Phoca Gallery - image gallery extension
yves63
Phoca Member
Phoca Member
Posts: 12
Joined: 08 Jul 2013, 21:22

Categorie View CSS/PHP? entry for three colums

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post 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
If you find Phoca extensions useful, please support the project
yves63
Phoca Member
Phoca Member
Posts: 12
Joined: 08 Jul 2013, 21:22

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

Post by yves63 »

Hi,

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

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

I'll try at home..
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply