Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2010
    Posts
    71
    Plugin Contributions
    0

    Default sub categories listing?

    I would like to have my subcategories next to each other in stead of under eacht other like i have at this moment: www.walhallarecords.be
    but i want to have it like this: www.rushhour.nl

    Probably i need to edit the PHP code, but my php knowledge is 0..

    maybe someone could help me out with this?

  2. #2
    Join Date
    Dec 2010
    Posts
    71
    Plugin Contributions
    0

    Default Re: sub categories listing?

    bump! really need some help on this!

  3. #3
    Join Date
    Aug 2008
    Posts
    244
    Plugin Contributions
    0

    Default Re: sub categories listing?

    Just a thought but if you tried something like:

    .sideBoxContent a.category-products {
    width:20px;
    float:left;
    }

    Put into your relevant stylesheet, might just work. You may have to play around with the width. Basicaly you need to give the category products a small overall width and then just float them left so they line up from left to right. Or another thought.

    display:inline;

  4. #4
    Join Date
    Dec 2010
    Posts
    71
    Plugin Contributions
    0

    Default Re: sub categories listing?

    hmmm this doen't do anything..
    by the way, i'm currently using the "Replacement Category Tree" mod to show all subcategories.. maybe i should edit something in this script?

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: sub categories listing?

    The categories in your sidebox are all separated by <br /> to keep them on separate lines. Try this:

    .category-products+br {display: none;}

    This may be all you need, but if you have any problem with the following top cat being on the same line as the subs, you can add this:

    .category-products+br+.category-products+br+.category-products+br {display: block;}


    This will not work in IE6, but IE7 and all modern browsers will handle it correctly.

 

 

Similar Threads

  1. v150 Sub-Categories Product Listing
    By beyre in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 20 Mar 2012, 06:22 PM
  2. Sub-Categories Listing Issue
    By Horrific_ending in forum General Questions
    Replies: 7
    Last Post: 1 Dec 2009, 07:15 PM
  3. Show sub-sub categories underneath sub-categories on the category page?
    By tomrice in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 18 Jun 2009, 03:05 AM
  4. Sub Categories Listing Vertical!
    By gtcman in forum General Questions
    Replies: 2
    Last Post: 12 Aug 2007, 10:12 AM
  5. Listing of all categories/sub categories
    By sccr410 in forum General Questions
    Replies: 0
    Last Post: 2 Feb 2007, 06:16 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