Loading...
 
Skip to main content

Themes


All-horizontal navigation bar

I would like to create a horizontal menu with horizontal submenus instead of a dropdown submenu. This way, when you choose a menu item, submenu items are visible at al times.

I noticed the cssmenus.css file contains the necessary code to do so (/*** adding a parent div.sf-navbar to .cssmenu_horiz to create an all-horizontal nav-bar menu ***/), but I don't see how I can activate this.

Any suggestions?

Japan

That code is to produce a menu like the navbar style here: http://users.tpg.com.au/j_birch/plugins/superfish/#sample4Question. The idea was to use the topbar menu custom code text area to enter something like div class="sf-navbar" {menu id=43 css=y type=horiz} /div (with the angle brackets around the div tags of course). This worked long ago but just trying again, it doesn't appear to work (at least with fivealive.css). I'd like to take a look at why it isn't working, but don't have time right now. Anyway, it only shifts the first child level to horizontal, not third and lower levels, as the superfish demo shows.

-- Gary


Thanks for the quick reply.
A horizontal first child level would be just fine; I don't intend to go deeper in my navigation. Can't wait until you find a moment to check this out 😛. BTW I do use the 5alive theme.