Page 1 of 1

How can I change sections view to be 2 sections in one row

Posted: 04 Jul 2011, 20:56
by nermin_dadan
I'm trying to change my sections view to be 2 sections in one row, but I cant find this option anywhere. I'm able to change the width of the single section from "33%" to "50%" and it changes the first row and the rest or the rows are with one section per row, because it has this code after every third section: div style="clear:both">/div.

This image shows it's current state:
http://postimage.org/image/16q7xa7vo/
This image shows how it should be (changed with firebug):
http://postimage.org/image/16oxm8i1w/

If someone knows some simple solution for my esthetic problem I would appreciate.

Re: How can I change sections view to be 2 sections in one r

Posted: 05 Jul 2011, 10:13
by colt
hi,
you may change this by editing the categories view:

views/categories/tmpl/default.php

about line 83 you find something like that:

echo '</div></div></div></div>';
if ($i%3==0) {
echo '<div style="clear:both"></div>';

just replace the 3 with 2 and it works!

regards