Page 220 of 227 FirstFirst ... 120170210218219220221222 ... LastLast
Results 2,191 to 2,200 of 2267
  1. #2191
    Join Date
    Sep 2010
    Posts
    612
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Hello Glenn,

    Is there a way to have bullets in front of category names on only 3+ sub level categories?

    Currently, I have categories and sub categories listed without bullets. I would like the ability for 3rd level categories and beyond to appear bulleted but I'm not sure if it's possible. Please let me know. Thank you!!

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

    Default Re: Categories Dressing

    Add a rule similar to the one that controls subcat bullets, but with another "li" in the selector:
    Code:
    #categories li li li a.cat-not-selected-text, #categories li li li a.cat-selected-text, #categories li li a.cat-parent-text {/*3rd level + subcategories*/
        list-style: disc inside;/*comment out display and list-style to remove bullet*/
        }
    This is an example and may not exactly match the selectors in your rule.
    Of course use whatever bullet or arrow style you want.

  3. #2193
    Join Date
    Sep 2010
    Posts
    612
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Quote Originally Posted by gjh42 View Post
    Add a rule similar to the one that controls subcat bullets, but with another "li" in the selector:
    Code:
    #categories li li li a.cat-not-selected-text, #categories li li li a.cat-selected-text, #categories li li a.cat-parent-text {/*3rd level + subcategories*/
        list-style: disc inside;/*comment out display and list-style to remove bullet*/
        }
    This is an example and may not exactly match the selectors in your rule.
    Of course use whatever bullet or arrow style you want.
    Thank you SO much. It worked! Seemed like something I should've tried a bit harder to figure out.

    One last question, is there a way to hide the top category when the sub categories are displayed? Here's an example:

    HEADER CATEGORY (SHOWN AT ALL TIMES)
    TOP CATEGORY (SHOWN AT ALL TIMES)
    SUB CATEGORY (HIDDEN UNLESS TOP CATEGORY IS SELECTED)

    If there's a way to hide the upper levels it would be greatly appreciated. If it's complicated, don't bother, it's just for aesthetics. Thank you!

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

    Default Re: Categories Dressing

    is there a way to hide the top category when the sub categories are displayed?
    I'm afraid not. CSS can't alter the display of something based on what follows it, only on what precedes it.

    It would be possible to write a new PHP case statement for the switch which determines what displays, but I would have to sit down and study it.
    Last edited by gjh42; 6 Jun 2013 at 03:05 PM.

  5. #2195
    Join Date
    Sep 2010
    Posts
    612
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Quote Originally Posted by gjh42 View Post
    I'm afraid not. CSS can't alter the display of something based on what follows it, only on what precedes it.

    It would be possible to write a new PHP case statement for the switch which determines what displays, but I would have to sit down and study it.
    Okie dokie. No problem, it's great anyway! Thank you!

  6. #2196
    Join Date
    Jun 2013
    Location
    NYC
    Posts
    2
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Quote Originally Posted by gjh42 View Post
    I'm afraid not. CSS can't alter the display of something based on what follows it, only on what precedes it.

    It would be possible to write a new PHP case statement for the switch which determines what displays, but I would have to sit down and study it.
    I'm taking a quick look at this now. Wandering if you ever did implement this in one of your test? I'm looking to see if I can implement a way to not only hide any previous and top subcategories but also to only show categories that are immediate subcategories like the one's that show on the category pages no matter how many subcategories you go down. Im hoping you already dabbled with it or even implemented it, if not I'll continue to see if I can get it working in my spare time. Let me get the chance to say this the great work you've done is very appreciated.

  7. #2197
    Join Date
    Jun 2013
    Location
    NYC
    Posts
    2
    Plugin Contributions
    0

    Default Re: Categories Dressing

    I was able to modify it for my needs. You actually posted part of a code I needed in 2011 that I was able to combine with your beta version which pretty much took care of it. Took only a few minutes. You saved me plenty of time. Thank you.

  8. #2198
    Join Date
    Mar 2008
    Posts
    16
    Plugin Contributions
    0

    Default Re: Categories Dressing

    I cannot seem to figure out what I've done wrong, but I can't get any of the changes I make in the stylesheet_chcategories_dressing.css to take effect. I have the ch_categories.php turned on in my admin panel. The website link is shadesofmidnight.com. This is an established website that I'm attempting to change themes on. I know that this is compatible with the theme I'm using as I've just set up another site with that theme and this mod without a problem. I've even compared files between the two sites and can't seem to find what is different and why I'm running into this problem.

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

    Default Re: Categories Dressing

    Seeing it live may give me a clue to what is happening for you.
    Oops, just saw the address... I'll take a look.

  10. #2200
    Join Date
    Mar 2008
    Posts
    16
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Thank you!

 

 

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

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