Spry Submenu Position

The Spry navigation bar is a very handy feature added in Dreamweaver CS4, but the default is for the items to drop DOWN.

What if you want them to go UP?

On line 57 (in my file at least) I’ve got this:

/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
{
left: auto;
}

If you want the submenus to go UP rather than drop down add something like this:

bottom: 30px;

into the same rule, changing the value to suit your navbar. Positive values go UP.

other page


What do you think?

It's good to talk!

Your email address will not be published.