vertical menu – horizontal submenus?

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"
Locked
firfelin

vertical menu – horizontal submenus?

Post by firfelin »

Hi,

First, excuse me for my crappy english... ::)

Second, thank you to all the people involved in cmsms for providing this excellent and easy tool

At least, my question:

Is it possible to configure a vertical menu to make the sublevels appear all on the same horizontal line ?

For example, I have MENU1, MENU2... and I would like that on rollOver SUBMENU1 and SUBMENU2 appears in the same time, next to each other on the same line than their parent MENU1... Possible?

Thank you in advance for your help

[attachment deleted by admin]
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: vertical menu – horizontal submenus?

Post by Dr.CSS »

using CSSMenu Vert. you will naturaly get the flyout to come out the side like your img. if you want every thing to show as soon as you hover in the main menu you need to change the default CSS to this.....

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

#primary-nav ul {display: none;}  < this is how you keep levels from showing till you hover on them

#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;}  <this makes them show up on hover

the two blue hilites are for more than 3 levels, default will not have that in it, i needed more levels so i added them....

  HTH
        mark
Locked

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