Two column problem

Phoca Download - download manager
lookic
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 01 Dec 2009, 01:15

Two column problem

Post by lookic »

Hello all,

My problem is:
I have changed phocadownload-grey.css to show two sections in columns (width 50%) and it does, but only first two sections, all others are places in zig-zag. Does anybody have an idea how to fix this.

Thanks,
Ivan
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Two column problem

Post by Jan »

Hi, you need to change the "clear:both" in code too: so after second column the new row will be added, see:

components/com_phocadownload/views/sections/tmpl/default.php

change the $i%3==0 to $i%2==0

Jan
If you find Phoca extensions useful, please support the project
lookic
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 01 Dec 2009, 01:15

Re: Two column problem

Post by lookic »

Ok, that works.

Thx a lot.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Two column problem

Post by Jan »

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