Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2013
    Posts
    5
    Plugin Contributions
    0

    Default Problem with sub category indentation

    Hi,

    First of all thank you to everyone that has helped me over the years with Zen Cart as I always find a solution to my problems, except this time!

    I am having an issue with my sub category indenting more than the others when it contains further subcategories.

    The shop is here: http://www.wargamesupplies.co.uk/shop

    When you click on one of the main categories e.g Games Workshop, you can see that the Warhammer 40,000 and Warhammer subs are lined up with each other because they have subcategories within them. The Hobbit sub category is indented further because it doesn't contain any sub categories.

    This issue happens as you move deeper as well. I would like all my subcategory headings to line up regardless of whether they have anything in them or not and I am tearing my hair out trying to find a solution.

    Very much appreciate any help that can be provided for this.

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Problem with sub category indentation

    Looks like it starts here in stylesheet_boxes.css:

    #categories .category-products{
    padding-left:10px!important;
    }
    #categories .category-products a{
    padding-left:5px!important;
    }

    Try changing one or both to 5px.

  3. #3
    Join Date
    Feb 2013
    Posts
    5
    Plugin Contributions
    0

    Default Re: Problem with sub category indentation

    That moved the top category further to the left.

  4. #4
    Join Date
    Feb 2013
    Posts
    5
    Plugin Contributions
    0

    Default Re: Problem with sub category indentation

    Quote Originally Posted by stevesh View Post
    Looks like it starts here in stylesheet_boxes.css:

    #categories .category-products{
    padding-left:10px!important;
    }
    #categories .category-products a{
    padding-left:5px!important;
    }

    Try changing one or both to 5px.
    Changing both to 15px actually worked to line them up. This pushed the upper categories to the right - I was hoping to try and bring the lower categories to the left as this will cause text wrapping as it goes deeper. This has fixed the problem so thank you very much! I would love to find a way to move the other text to the left though.

  5. #5
    Join Date
    Feb 2013
    Posts
    5
    Plugin Contributions
    0

    Default Re: Problem with sub category indentation

    Scratch that. It has worked for some of them but not for all of them.

    Very frustrating!

    EXAMPLES:
    http://www.wargamesupplies.co.uk/sho...dex&cPath=1_33
    This now has all the sub categories lined up whereas before they were all over the place so this is fixed.

    http://www.wargamesupplies.co.uk/sho...=index&cPath=2
    On this one the third sub category (The Hobbit) has indented and it is even more noticeable now.

    Any thoughts?

 

 

Similar Threads

  1. v154 How do I list products in sub category with in the parent category?
    By JoeToys in forum Setting Up Categories, Products, Attributes
    Replies: 38
    Last Post: 2 Dec 2018, 08:54 PM
  2. v151 Need some Help with Sub-Sub Category
    By SilverHD in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 25 Apr 2014, 10:52 PM
  3. v150 Indentation problem on Shopping Cart Page When Product Image is Turned Off
    By Dave224 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 2 Sep 2012, 04:50 PM
  4. Help with Sub Sub Category (Categories) Layout
    By gorbry in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 19 May 2006, 02:35 PM

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