Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Aug 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Tree menu - collapsed (closed) by default

    Hi all,

    Just wondering if this is possible - I love this tree menu used below:

    http://cssdeck.com/labs/twitter-boot...ible-tree-menu

    Only problem is that the menu is expanded by default. Can anyone work out how to make it collapsed (closed) by default?

    Thank you!!

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,917
    Thanks
    6
    Thanked 1,040 Times in 1,013 Posts
    Yes, with CSS:
    Code:
    .nav-header + ul {display: none;}
    
    /* or… */
    
    .tree-toggler + ul {display: none;}


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •