Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18
  1. #11
    Join Date
    Dec 2009
    Posts
    48
    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
    21,819
    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
    48
    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
    21,819
    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
    48
    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
    21,819
    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
    48
    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
    21,819
    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. Expanded Category List and BetterCategories
    By wasana in forum Addon Sideboxes
    Replies: 6
    Last Post: 6 Jan 2009, 11:50 PM
  2. BetterCategories, Selected category
    By esoin in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 7 May 2008, 12:36 PM
  3. Replies: 0
    Last Post: 20 Feb 2008, 05:21 PM
  4. change font weight?
    By robsnowden in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 30 Jan 2008, 09:44 AM
  5. BetterCategories -- Top Category Rollover Problem
    By srturner47 in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 4 Nov 2007, 12:43 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
  •