Results 1 to 10 of 2267

Hybrid View

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

    Default Re: Categories Dressing

    Unless you don't want the top categories to be clickable, you would just style them to look like the headings you want. You would first need to install the chcategories option so that the subcats would all show.
    To style only the top categories, add a new rule just below the #chcategories ul a {/*top categories*/ rule, like
    Code:
    #chcategoriesContent>ul>li>a {/*top categories only*/
        whatever styling: you want;
        }
    In any case, you will need to make a define for each top category id, setting it to start a new category group.
    PHP Code:
    define ('CAT_BOX_HEADING_1','1|0||');//new list - no headings 
    How do you want the sub-subcategories to behave? All visible always, or sub-subcats only visible when their parent is active? The first will require a define for CAT_ACTIVE_LEVEL, the second requires no action.

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

    Default Re: Categories Dressing

    Oops, forgot...
    The first will require a define for CAT_ACTIVE_LEVEL, the second requires no action.
    It's the other way around:
    The first requires no action, the second will require a define for CAT_ACTIVE_LEVEL... as I originally typed, then thought I was mistaken... but I was wrong;)

  3. #3
    Join Date
    Jan 2010
    Location
    Richmond, Virginia, United States
    Posts
    123
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Is it possible to hide one top category and show all others?

  4. #4
    Join Date
    Jan 2010
    Location
    Richmond, Virginia, United States
    Posts
    123
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Well, I answered my own question. Here's my workaround in case anyone else wants to know. I'm selling e-books on my site and wanted to hide the "series" categories. This is what I did:

    1) Created a top category called SERIES. Turn it OFF (red button beside it in the Admin instead of green).

    2) Move all my series categories into the top category SERIES. Make sure the categories are turned ON (green button instead of red).

    3) Create an EZ-Page with all my series links in it. Link to the new subcategories directly (with a cPath=CATEGORY_ID link instead of the cPath=TOPCAT_CATID).

    I hope this makes sense!

  5. #5
    Join Date
    Jul 2012
    Location
    AZ USA
    Posts
    59
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Quote Originally Posted by gjh42 View Post
    Unless you don't want the top categories to be clickable, you would just style them to look like the headings you want. You would first need to install the chcategories option so that the subcats would all show.
    To style only the top categories, add a new rule just below the #chcategories ul a {/*top categories*/ rule, like
    Code:
    #chcategoriesContent>ul>li>a {/*top categories only*/
        whatever styling: you want;
        }
    In any case, you will need to make a define for each top category id, setting it to start a new category group.
    PHP Code:
    define ('CAT_BOX_HEADING_1','1|0||');//new list - no headings 
    How do you want the sub-subcategories to behave? All visible always, or sub-subcats only visible when their parent is active? The first will require a define for CAT_ACTIVE_LEVEL, the second requires no action.
    I would like them to behave like the second as then it keeps the sidebar neat.

    Sorry for taking so long to reply I had forgotten about asking and was doing other things

    Debbie

 

 

Similar Threads

  1. categories dressing
    By fw541c in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 19 Nov 2010, 09:29 PM
  2. Categories Dressing
    By wotnow in forum Addon Sideboxes
    Replies: 10
    Last Post: 7 Apr 2010, 03:06 AM
  3. Categories Dressing issue
    By Maynards in forum Addon Sideboxes
    Replies: 0
    Last Post: 13 Mar 2010, 10:51 PM
  4. Categories Dressing
    By Maynards in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 12 Mar 2010, 11:05 PM
  5. Categories Dressing
    By PGlad in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 7 Aug 2007, 07:05 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