Forums / Templates, Stylesheets, Page Layout / Subcategory images displaying in column not row

Subcategory images displaying in column not row

Locked

Started by chacha_vintage on 21 Apr 2007, 5:35 PM · Views: 1,156

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
21 Apr 2007, 5:35 PM
#1
chacha_vintage avatar

chacha_vintage

New Zenner

Join Date:
Feb 2007
Location:
baltimore, md
Posts:
41
Plugin Contributions:
0

Subcategory images displaying in column not row

Hello! I have searched the forum and have not been able to find the answer to this one.

My subcategory images are showing 3 across for my categories that have 3 or more subcategories. See: http://www.chacha-vintage.com/shop/index.php?main_page=index&cPath=69

However, for my categories that have less than 3 subcategories, they are displaying 1 across x 2 down (column). See: http://www.chacha-vintage.com/shop/index.php?main_page=index&cPath=81_82

I'd like them to show up as 2 across x 1 down (row).

Any ideas? I'm guessing this is probably a stylesheet issue...

Thanks so much!


[
www.chacha-vintage.com: vintage fashion + original designs ]

21 Apr 2007, 6:40 PM
#2
pjb923 avatar

pjb923

Zen Follower

Join Date:
Jan 2005
Location:
NY
Posts:
135
Plugin Contributions:
0

Re: Subcategory images displaying in column not row

Remove the following declaration from your stylsheet:

.categoryListBoxContents{
padding: 0.1em;
}

The reason that the 3 column layout works is that the columns are defined as 33% width. If you add those up, you only have 99%, leaving some room for the extra padding. 50% x 2 leaves no room for error causing the 2nd image to wrap to the next line.

21 Apr 2007, 8:07 PM
#3
chacha_vintage avatar

chacha_vintage

New Zenner

Join Date:
Feb 2007
Location:
baltimore, md
Posts:
41
Plugin Contributions:
0

Re: Subcategory images displaying in column not row

Super smart! :smartalec: Thank you!!


[
www.chacha-vintage.com: vintage fashion + original designs ]