Hi ya'll, having some problems here with a drop-down menu. First off, I'm using the WP 3.0 menu system. Here is my code for that - note I'm trying to explicitly tell the wp_nav_menu function that I want 2 levels but that didn't make a difference:
if ( function_exists( 'add_theme_support' ) ) {
// This theme uses wp_nav_menu()
register_nav_menu( 'bb-menu',_('Client Navigation') );
}
function childtheme_menu() { ?>
<div id="access">
<div class="skip-link"><a href="#content">">
<?php _e('Skip to content', 'thematic'); ?></a></div>
<?php wp_nav_menu( 'sort_column=menu_order&container_class=menu&menu_class=sf-menu&depth=2' ); ?>
</div>
<!-- #access -->
<?php }
add_action('thematic_belowheader','childtheme_menu',9);
And I've set the code in Superfish.css to
.sf-menu li { /* TOP LEVEL MENU */
background: #FFF;
list-style: none;
}
.sf-menu li li { /* SECOND LEVEL MENU (CHILD) */
background: #FFF;
list-style: none;
}
I'm sure I'm missing something here but not sure what or where so I'm asking for ya'lls help.
Thank you!