Page 6 of 6 FirstFirst ... 456
Results 51 to 57 of 57
  1. #51
    Join Date
    Apr 2009
    Posts
    149
    Plugin Contributions
    0

    Default Re: how would I make the categories expand?

    I still havn't figured out how to change the font of just the top catagories.

    looking at the code that is outputted,

    Code:
    <li class="cat-top"><a class="cat-not-selected-text" href="http://lowpricedhardware.ie/index.php?main_page=index&amp;cPath=2374">CAMERAS</a>
    <ul id="catGroup2374_2439">
      <li class="cat-subs"><a class="cat-not-selected-text" href="http://lowpricedhardware.ie/index.php?main_page=index&amp;cPath=2374_2439">Accessories</a></li>
      <li class="cat-subs"><a class="cat-not-selected-text" href="http://lowpricedhardware.ie/index.php?main_page=index&amp;cPath=2374_2446">Camera Lenses</a></li>
    
      <li class="cat-subs"><a class="cat-not-selected-text" href="http://lowpricedhardware.ie/index.php?main_page=index&amp;cPath=2374_2375">Digital camera</a></li>
      <li class="cat-subs"><a class="cat-not-selected-text" href="http://lowpricedhardware.ie/index.php?main_page=index&amp;cPath=2374_2461">Digital photo frame</a></li>
      <li class="cat-subs"><a class="cat-not-selected-text" href="http://lowpricedhardware.ie/index.php?main_page=index&amp;cPath=2374_2597">Flash</a></li>
      <li class="cat-subs"><a class="cat-not-selected-text" href="http://lowpricedhardware.ie/index.php?main_page=index&amp;cPath=2374_2523">Memory cards</a></li>

    The first li doesn't seem to be closed?

    Code:
    <li class="cat-top"><a class="cat-not-selected-text" href="http://lowpricedhardware.ie/index.php?main_page=index&amp;cPath=2374">CAMERAS</a>
    <ul id="catGroup2374_2439">
      <li class="cat-subs">
    so the sub cats get their style from the first
    Code:
    <li class="cat-top">
    ?

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

    Default Re: how would I make the categories expand?

    The first <li> in your snippet encloses the whole subcat list. This is a discussion better continued in the Categories Dressing support thread.

    In general, you style outer or generic elements, and then style inner or more specific elements if you want them different.

  3. #53
    Join Date
    Apr 2009
    Posts
    149
    Plugin Contributions
    0

    Default Re: how would I make the categories expand?

    Ok thanks again for all your help. It's very appriciated.

  4. #54
    Join Date
    Apr 2009
    Posts
    149
    Plugin Contributions
    0

    Default Re: how would I make the categories expand?

    One thing I'm still trying to figure out is how to make a link at the top of the catagories that replaces the "catagories" text when on anything other than the main page that says something like "browse all catagories" or something like that.

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

    Default Re: how would I make the categories expand?

    You can add an HTML link to each category description for that. Just copy the same bit into each category.

  6. #56
    Join Date
    Apr 2009
    Posts
    149
    Plugin Contributions
    0

    Default Re: how would I make the categories expand?

    Thanks again. One final configuration would make things pretty much perfect, but is probably not possible.

    But, would it be possible for say to have all the categories explanded to the first subcat level. But when anyone clicks on the link of a cat. or subcat, for that whole cat and subcat to move to the top of the cats/subcats......as if it's sort order was 1 and the rest were higher than that, until they click on a cat/subcat of one of the other cats, which would then move to the top..

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

    Default Re: how would I make the categories expand?

    I'm not sure that's a good idea, moving items around in the menu so the order is not consistent.

    Since there is a class tag for the current category, it would be possible to use absolute and relative positioning on various elements and make a selected category move to the top of its parent's subcat list. That would probably require leaving a blank space at the top when no subcat has been selected, as you can't style an element based on conditions of a child element.

 

 
Page 6 of 6 FirstFirst ... 456

Similar Threads

  1. How can I expand my entire categories tree?
    By jnb41578 in forum General Questions
    Replies: 1
    Last Post: 13 Feb 2012, 10:40 PM
  2. How would i make the products appear like this?
    By shah2k in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 24 Feb 2010, 04:21 PM
  3. How would i make the box smaller???
    By hcd888 in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 5 Oct 2009, 01:33 AM
  4. Turn off all sideboxes on the right and make centerbox expand
    By Heather88 in forum Basic Configuration
    Replies: 8
    Last Post: 23 Apr 2007, 04:23 AM
  5. Always expand the categories menu?
    By eger in forum General Questions
    Replies: 0
    Last Post: 8 Jun 2006, 07:30 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