Vertical CSSMenu - more than 3 level

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
dme69
New Member
New Member
Posts: 7
Joined: Wed Dec 21, 2005 9:19 pm

Vertical CSSMenu - more than 3 level

Post by dme69 »

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 !
westis

Re: Vertical CSSMenu - more than 3 level

Post by westis »

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:

Code: Select all

/* 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.
dme69
New Member
New Member
Posts: 7
Joined: Wed Dec 21, 2005 9:19 pm

Re: Vertical CSSMenu - more than 3 level

Post by dme69 »

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.
Post Reply

Return to “Layout and Design (CSS & HTML)”