Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / How do I make categories on main page appear horizontally with images?

How do I make categories on main page appear horizontally with images?

Locked

Views: 1,842

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
21 Mar 2007, 8:53 PM
#1
aaelghat avatar

aaelghat

Zen Follower

Join Date:
Feb 2007
Posts:
100
Plugin Contributions:
0

How do I make categories on main page appear horizontally with images?

Hi, on my carts main page, the categories and the associated images are displayed vertically (I have 3 categories) but I want them displayed horizontally. I've searched and seen references to the categories_tabs.php, but this is the main categories list with pictures.

The ironic thing is that I bought the Zen cart book, and on page 158 the sample has the images displayed horizontally....

I'm not sure if you'll see this rigt away, but my cart is here...

http://www.lifeonrecord.com/cart/

21 Mar 2007, 9:04 PM
#2
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: How do I make categories on main page appear horizontally with images?

aaelghat:

Hi, on my carts main page, the categories and the associated images are displayed vertically (I have 3 categories) but I want them displayed horizontally. I've searched and seen references to the categories_tabs.php, but this is the main categories list with pictures.

The ironic thing is that I bought the Zen cart book, and on page 158 the sample has the images displayed horizontally....

I'm not sure if you'll see this rigt away, but my cart is here...

http://www.lifeonrecord.com/cart/

Actually, its messing up because you or someone you know commented out this section here:

/*#logo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {float: left;}
*/

If you want your logo not centered, you can just pull that out of the above list, and let the rest keep on floating left. Those items need the float left to show up side by side.

21 Mar 2007, 9:07 PM
#3
aaelghat avatar

aaelghat

Zen Follower

Join Date:
Feb 2007
Posts:
100
Plugin Contributions:
0

Re: How do I make categories on main page appear horizontally with images?

Also, is there a way to change the size of the category images on the main page? I see in the Admin section where I can change the size of the category image on some of the secondary pages, but not the main page. Thanks in advance...

21 Mar 2007, 9:10 PM
#4
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: How do I make categories on main page appear horizontally with images?

aaelghat:

Also, is there a way to change the size of the category images on the main page? I see in the Admin section where I can change the size of the category image on some of the secondary pages, but not the main page. Thanks in advance...

I believe those are set by the small image width/height.

21 Mar 2007, 9:20 PM
#5
aaelghat avatar

aaelghat

Zen Follower

Join Date:
Feb 2007
Posts:
100
Plugin Contributions:
0

Re: How do I make categories on main page appear horizontally with images?

Thanks Jettrue, you rock!!!

I played around with the category image size. The subcategory width and height changed the category image size (the small image width and height had no effect). Thanks again!!!