Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2007
    Location
    baltimore, md
    Posts
    41
    Plugin Contributions
    0

    Default 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/i...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/i...ex&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!

  2. #2
    Join Date
    Jan 2005
    Location
    NY
    Posts
    150
    Plugin Contributions
    0

    Default 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.

  3. #3
    Join Date
    Feb 2007
    Location
    baltimore, md
    Posts
    41
    Plugin Contributions
    0

    Default Re: Subcategory images displaying in column not row

    Super smart! Thank you!!

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •