Well it’s probably easy for me but may not be so easy for you
What you’d need to do is add an extra class to the body tag on the pages where you want the menu displayed differently. If all pages have a normal dropdown then just add the special class when there is a drop up.
e.g.
<body class="dropup">
Then you would modify the existing rules where either top or bottom has been used.
e.g.
ul#nav li:hover ul, ul#nav li.over ul {/* style hover nav*/
border:1px solid #555;
font-weight:bold;
z-index:99;
[B]top:40px;/* below current item/[/B]
}
[B].dropup[/B] ul#nav li:hover ul,[B].dropup[/B] ul#nav li.over ul {
top:auto;/* over-ride top position*/
[B] bottom:40px;/* on top of current item*/[/B]
}
#nav li:hover li:hover ul, #nav li.over li.over ul {
margin-left:0;
padding:0;
left:220px;
[B]top:0;/* show nested menu*/[/B]
}
[B].dropup [/B]#nav li:hover li:hover ul,[B].dropup [/B]#nav li.over li.over ul {
[B] top:auto;/* over-ride top position*/
bottom:-20px;/* show nested menu*/
}[/B]
The above is just an idea of how to go about this and may (or may not) need extra tweaks as it is untested but shows the general idea.
I’m not sure what you want vertically centred exactly? In what way should it be vertically centred and to what reference is it vertically centre?
How do I increase the height of each sub menu?
The easiest way is just to increase the top padding:
ul#nav li li a{padding:5px 10px}
How do I change the 3nd level menu hover to look like the 2nd level hover (the background is the same for all and hover isn’t different?
Just add the background colour into this rule here.
ul#nav li li a{padding:5px 10px}
/* set dropdown to default */
#nav li:hover li a, #nav li.over li a, #nav li:hover li:hover li a, #nav li.over li.over li a, #nav li:hover li:hover li:hover li a, #nav li.over li.over li.over li a {
color:#FDB813;
[B] background:#051586[/B]
}
I tried this ul#nav li li a{padding:5px} but it separates the distance between the menu items–I wanted to only “spread” the items and give them more space on the top and the bottom…I think the padding is working on the outside and I need it around the text
If you look at the menu you’ll notice that each item THE TEAM, ENTERTAINMENT, etc. is all top-aligned; can it be middle-aligned?
I’m not sure I follow as the padding is the space on top and below the text and will work exactly like I assume you wanted. Margin is the space outside the element but you can’t use margins on a drop down as that will give you gaps between the items and the menu will drop out.
padding:5px 10px; works for me with no problems and I can’t really think what other effect you would want
If you look at the menu you’ll notice that each item THE TEAM, ENTERTAINMENT, etc. is all top-aligned; can it be middle-aligned?
This is a bit awkward and perhaps the easiest solution is to add a class to that one item that has two lines.