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
    149
    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!!

 

 

Similar Threads

  1. subcategory images only displaying in a row
    By alibaba99 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 16 Mar 2011, 12:50 PM
  2. Replies: 2
    Last Post: 13 Aug 2009, 03:11 AM
  3. category images in column, not row, in firefox
    By jenpen in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 21 Mar 2009, 11:29 PM
  4. Four subcategory images on one row
    By andyh in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 4 Oct 2007, 08:08 PM
  5. Category/SubCategory images not displaying
    By Daveage in forum Setting Up Categories, Products, Attributes
    Replies: 8
    Last Post: 24 May 2006, 03:27 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR