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.
How can I change sections view to be 2 sections in one row
-
nermin_dadan
- Phoca Newbie

- Posts: 3
- Joined: 04 Jul 2011, 20:14
-
colt
- Phoca Newbie

- Posts: 6
- Joined: 01 Jul 2011, 17:23
Re: How can I change sections view to be 2 sections in one r
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
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