Results 1 to 10 of 10
  1. #1
    Join Date
    Feb 2010
    Posts
    24
    Plugin Contributions
    0

    Default Remove sub categories from sidebar?

    I'm in the process of setting up this store and the owners have decided they don't want the subcategories in the sidebar -how would I go about removing them?

    I can't seem to find a way to disable it this, any ideas?

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

    Default Re: Remove sub categories from sidebar?

    Admin > Layout Settings > Categories - Always open to subcategories.

  3. #3
    Join Date
    Feb 2010
    Posts
    24
    Plugin Contributions
    0

    Default Re: Remove sub categories from sidebar?

    Great! Thanks!

  4. #4
    Join Date
    Sep 2010
    Posts
    12
    Plugin Contributions
    0

    Default Re: Remove sub categories from sidebar?

    Hello all,

    I am trying to do this same thing with my zen cart shop but the subcategories are still showing. Any suggestions?

    I am using a template, so I was thinking this could be blocking it.

    Any help greatly appreciated! http://wiredww.com

    Thanks,

    Ryan

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

    Default Re: Remove sub categories from sidebar?

    Yes, your template uses a custom categories sidebox called "simplecategories", which apparently isn't built to respond to some admin settings. You might write to the template maker (Rubik Integration) for help in modifying its behavior to conform to ZC standard. Meanwhile, you can shut off subcat display. The content is oddly constructed so that the top categories are just divs (not in a <ul> list), but the subcats are in <ul> lists. Add to your stylesheet

    #simplecategories ul {display: none;}

  6. #6
    Join Date
    Sep 2010
    Posts
    12
    Plugin Contributions
    0

    Default Re: Remove sub categories from sidebar?

    thanks very much for your reply - I tried to contact the company - Any idea of how I get this done or what I can search for?

    I used your code, but now there is extra spaces still showing where sub categories appear.

    Thanks again!

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

    Default Re: Remove sub categories from sidebar?

    The categories with subs have a different class in that sidebox than the ones that don't (.parentCate vs. .parentCateLink). Change the styling for .parentCate to match .parentCateLink and you should be ok.

  8. #8
    Join Date
    Sep 2010
    Posts
    12
    Plugin Contributions
    0

    Default Re: Remove sub categories from sidebar?

    Thanks very much - worked perfectly!

    Any chance you could point me on how I can learn to have the category links at the left to expand to subcategories, once clicked on...



    http://groupvertical.com/

    Appreciate it!

    Thank you,

    Ryan

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

    Default Re: Remove sub categories from sidebar?

    You would need to install a different categories box mod, unless you are expert in PHP and can edit the template's version. Categories Dressing is very flexible, and there are flyout menu mods in Free Addons as well.

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

    Default Re: Remove sub categories from sidebar?

    Just checked your site again and see that you have the subcat hiding style rule I described above. You can't have that and show subcats.

    You first asked about hiding subcats, and then about showing them. Make up your mind:)

 

 

Similar Threads

  1. Remove certain categories/sub categories from sitemap
    By moesoap in forum General Questions
    Replies: 4
    Last Post: 30 Mar 2012, 08:52 PM
  2. Remove Sub Categories from main view
    By ivobrogle in forum General Questions
    Replies: 0
    Last Post: 25 Nov 2010, 01:15 PM
  3. Remove Right column from Sub Categories
    By Nick1973 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 16 Jul 2009, 12:19 AM

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