CMS Made Simple Forums
https://forum.cmsmadesimple.org/

Vertical CSSMenu - more than 3 level
https://forum.cmsmadesimple.org/viewtopic.php?f=20&t=2548
Page 1 of 1

Author:  dme69 [ Fri Dec 23, 2005 11:24 pm ]
Post subject:  Vertical CSSMenu - more than 3 level

Hello all,
I'm new to CMSMS and i have a problem with Vertical CSSMenu :
The fourth level is always displayed when i am on one of the third level menu.
I saw in the "Default CSSMenu Vertical" :
/* The magic - set to work for up to a 3 level menu, but can be increased unlimited */

How does it work ?
Thanks for your help.

Dominique.

PS : CMSMS is cool !

Author:  westis [ Sat Dec 24, 2005 10:52 am ]
Post subject:  Re: Vertical CSSMenu - more than 3 level

Hi Dominique & Merry Christmas!

Each level of the CSSMenu is another nested unordered list, that is another
    .

    In the following example I've added "the magic" for another level:

    \$1:
    /* The magic - set to work for up to a 3 level menu, but can be increased unlimited */

    #primary-nav ul, #primary-nav li:hover ul, #primary-nav li:hover ul ul, #primary-nav li:hover ul ul ul,
    #primary-nav li.menuparenth ul, #primary-nav li.menuparenth ul ul, #primary-nav li.menuparenth ul ul ul {
       display: none;
       }
    #primary-nav li:hover ul, #primary-nav ul li:hover ul, #primary-nav ul ul li:hover ul, #primary-nav ul ul ul li:hover ul,
    #primary-nav li.menuparenth ul, #primary-nav ul li.menuparenth ul, #primary-nav ul ul li.menuparenth ul, #primary-nav ul ul ul li.menuparenth ul  {
       display: block;
       }


    That should work. Let me know if it doesn't, as I haven't tried it myself.

Author:  dme69 [ Sun Dec 25, 2005 8:46 am ]
Post subject:  Re: Vertical CSSMenu - more than 3 level

Merry Christmas !

Thanks for your help. It's working fine ...


I have a new question :
It seems that there are some problem on the CSS menu with Firefox : some item of the menu are "under" the text of the page ?

thanks again for your precious help.
Dominique.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/