Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18
  1. #11
    Join Date
    Dec 2009
    Posts
    55
    Plugin Contributions
    0

    Default Re: Bettercategories sub category font weight

    im having problems trying to figure out how to NOT show sub categories
    right now im using categories and document category
    on categories the sub cat does not show up however on document category it does
    would any one know how to disable sub category on document category?
    please feel free to check out my site and see for your self
    http://xlegends.com/beta/index.php

    as you can see the women's store is using category
    and Men's store is using document category

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

    Default Re: Bettercategories sub category font weight

    #documentcategories .category-products {display: none;}

    will hide subcats. If you have multiple levels of subcats there is also another selector you would need to add.

  3. #13
    Join Date
    Dec 2009
    Posts
    55
    Plugin Contributions
    0

    Default Re: Bettercategories sub category font weight

    That worked.. kind of..
    document category did hide but now there an empty space in between the selected category and the one underneath
    im gussing there is no settings in admin command to hide it? like there is for regular categories?
    would it be possible to include one or copy the code from category to document category so they both behave the same way?
    im not really an expert on php so im heavily reliant towards the open source community

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

    Default Re: Bettercategories sub category font weight

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

  5. #15
    Join Date
    Dec 2009
    Posts
    55
    Plugin Contributions
    0

    Default Re: Bettercategories sub category font weight

    no luck
    looks like its hiding the sub category but creating a 1px line for every sub category

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

    Default Re: Bettercategories sub category font weight

    BetterCategories doesn't use the stock <br /> between items, but encloses them in divs. This is good, except that all of them, top or subcat, are in
    <div class="betterDocuments">
    and cannot be distinguished. Thus there is no way to hide the subcat divs.

  7. #17
    Join Date
    Dec 2009
    Posts
    55
    Plugin Contributions
    0

    Default Re: Bettercategories sub category font weight

    Thank You for your help
    When I removed better category it did seem to work so you are absolutely right
    there must be a way to disable the sub cat from loading by editing the php code... or should I not bother because thats not going to work?
    I need to teach myself php and this is prob the best place to start
    ill post my progress if there is any for all to enjoy

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

    Default Re: Bettercategories sub category font weight

    The categories sidebox has an admin switch function for disabling subcats, and you could copy and perhaps modify the code so the same switch operates on the document categories sidebox.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v139h Sub Category description font
    By EC web in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 9 Feb 2012, 05:47 PM
  2. Changing Sub Category Font Size found under Category Description
    By Market with a G in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 3 May 2011, 10:44 PM
  3. Sub-Category Font Size
    By ka1ber in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 13 Dec 2010, 03:26 PM
  4. Change header font in category with sub category
    By orphanespresso in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 Dec 2007, 08:22 PM
  5. Sub category font
    By 240racr in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 16 Dec 2006, 10:42 AM

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