Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / change display of products ; 3 in a row

change display of products ; 3 in a row

Locked
This thread is locked. New replies are disabled.
28 Aug 2008, 12:47 AM
#1
lieven23 avatar

lieven23

Zen Follower

Join Date:
Aug 2008
Posts:
340
Plugin Contributions:
0

Post #1 by lieven23

Default the products on the products page are displayed one on a row, vertically down . The display in the 'new products' are different.
There I have 3 products in a row ,so much more on the same space.
Now I'd like to have my products on the products page ,3 products in a row ,like the new products.
Can this be done in the Admin or do I have to change it in the code?

28 Aug 2008, 12:57 AM
#3
lieven23 avatar

lieven23

Zen Follower

Join Date:
Aug 2008
Posts:
340
Plugin Contributions:
0

Post #3 by lieven23

Thx again:smile::smile:

28 Aug 2008, 1:22 AM
#4
lieven23 avatar

lieven23

Zen Follower

Join Date:
Aug 2008
Posts:
340
Plugin Contributions:
0

Post #4 by lieven23

I did install a grid in in the 'new products part. But it's not that what I was aiming I would like to change the display of the my categories pages.
Right now all products are displayed one under an other, so vertically down. What I would like is that my products would display rather one next to one other. So for example 3 in a row and so column after coumn.
In the way that the 'new articles are displayed by default.

28 Aug 2008, 1:38 AM
#6
lieven23 avatar

lieven23

Zen Follower

Join Date:
Aug 2008
Posts:
340
Plugin Contributions:
0

Post #6 by lieven23

I did put a dotted grid in the new products section, but my products on the categories pages are still displayed one under another, so one per row.

21 Sep 2008, 1:36 AM
#8
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Post #8 by twitchtoo

k same problem here... http://www.karengunna.com/index.php?main_page=index&cPath=9

(or http://www.karengunna.com/ under category "belts")

i have the 'column layout grid' mod installed (even upgraded to the new one) but no luck, i can add 100 categories and they will all list straight down in one column.

i can also change the stylesheet to make them justify differently, no help. i edited the php's and managed to move them within the same column - useless.

i need to make three columns left to right and have 1 category display in each column - just like the products do as the first posts by 'lileven23' state.

thanks in advance.

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

21 Sep 2008, 2:27 AM
#9
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Post #9 by gjh42

Your column grid mod is working fine on product listing pages; it will not affect the categories/subcategories display in any way, because that is a different animal.

Try admin > Configuration > Maximum Values > Categories To List Per Row.

21 Sep 2008, 11:46 AM
#10
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Post #10 by twitchtoo

sadly, it was already set for 3 per row and moving that up and down... up = no change, 2 per row - no change, 1 per row -centered them perfectly but still not what i'm looking for.

thanks.

Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian

21 Sep 2008, 8:45 PM
#11
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Post #11 by gjh42

Your problem is an incorrectly stated declaration in your stylesheet.```
#logo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
float: center;
}

float cannot have a value of "center"; it can be left, right or none.
To center the contents of an element, use 
text-align: center;
Or to center an element in its container, use
margin: auto;

#logo, .centerBoxContents, .specialsListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
text-align: center;
}
.categoryListBoxContents {
float: left;
}