Results 1 to 10 of 14

Hybrid View

  1. #1
    Join Date
    Jan 2011
    Posts
    339
    Plugin Contributions
    0

    Default Is It Possible To Do Permanent Drop-Down Lists For Only Some Categories?

    All of the categories and subcategories for www.carnal-pleasures.com are listed in permanent expanded drop-down mode in the Categories sidebar...but the Anthologies category is getting too long, and likely to get longer. Is it possible to have JUST the Anthologies category NOT show its subcategories, but still have all the other categories and subcategories stay visible like they are now?

    Many thanks for your assistance!

  2. #2
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Is It Possible To Do Permanent Drop-Down Lists For Only Some Categories?

    I'm not familiar with the plugin/code that generates your lists, but where it comes to providing the subcategory(ies) it should be possibly to do a test like (if category != x && category != y) then do the subcategory(ies) portion of the routine. Where x is the first category id to be omitted, and y is the second. The "code" provided is not properly formatted to implement but is more of a concept.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

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

    Default Re: Is It Possible To Do Permanent Drop-Down Lists For Only Some Categories?

    Add to your stylesheet_chcategories_dressing.css
    Code:
    #chcategories .cat-top>#catGroup134_153 {display: none;}
    #chcategories .cat-top:hover>#catGroup134_153 { display: block;}
    I notice that you have both stylesheet_categories_dressing.css and stylesheet_chcategories_dressing.css; you should delete stylesheet_categories_dressing.css so it doesn't confuse your site with duplicate rules.

  4. #4
    Join Date
    Jan 2011
    Posts
    339
    Plugin Contributions
    0

    Default Re: Is It Possible To Do Permanent Drop-Down Lists For Only Some Categories?

    Perfect, GJH...thank you so very much!! I'm a php moron, though I've gotten better over the past 3 years...I really appreciate your help!

    Now if I can just get the upgrade problem solved.......... *sigh*

  5. #5
    Join Date
    Jan 2011
    Posts
    339
    Plugin Contributions
    0

    Default Re: Is It Possible To Do Permanent Drop-Down Lists For Only Some Categories?

    Okay, how would I do the same thing...have one category not show its subcategories but leave the others expanded...using the CH Category add-on? It doesn't have a stylesheet_chcategories_dressing.css file, and I'm very hesitant to mess with either of the two files I did upload.

    http://timelesserotica.com/bookstore/

    Thanks!!!

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

    Default Re: Is It Possible To Do Permanent Drop-Down Lists For Only Some Categories?

    Do you mean just the chcategories, without Categories Dressing? That does not have any more individual category control than the stock categories sidebox. To do what you want you need to install Categories Dressing - you don't need to use all of its styling abilities, only what you want.

 

 

Similar Threads

  1. Replies: 1
    Last Post: 31 Jan 2014, 01:50 AM
  2. Drop down menu for Categories
    By jd57 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 9 Apr 2008, 03:15 PM
  3. Selections from drop down lists ...
    By jdl in forum General Questions
    Replies: 0
    Last Post: 4 May 2007, 04:31 AM
  4. drop down menu for categories...
    By khopek in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 17 Nov 2006, 09:51 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