Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Drop down menu not dropping down... WordPress

  • SOLVED

Hi, I started a new site with a theme that did not have any menu / navigation installed.

I used 'WP CSS Dropdown Menu' ( http://wordpress.zackdesign.biz/css-dropdown-menu/ ) to add navigation to my site.

This is the site:
http://www.popcorndesign.co.uk/clients/sites/foxstonecarr/


I added this call to my theme's header:

<?php
if (class_exists('CSSDropDownMenu'))
{
$myMenu = new CSSDropDownMenu();
/* Extra options here, like so: $myMenu->orientation="top"; */
$myMenu->show();
}
?>


And added this code to my functions.php:

function register_my_menus() {
register_nav_menus(
array('header-menu' => __( 'Header Menu' ) )
);
}

add_action( 'init', 'register_my_menus' );



Here is the menu css:
http://www.popcorndesign.co.uk/clients/sites/foxstonecarr/wp-content/plugins/wordpress-css-drop-down-menu/theme_css/menu.css


MY QUESTION: The menu is showing and working from admin, however the dropdown is not working, if you look at my site: http://www.popcorndesign.co.uk/clients/sites/foxstonecarr/ 'Our Partners' should have a dropdown menu of 'Corporate Partners'

Can anyone see what i'm doing wrong? Is there something that I'm missing in the CSS?

Thanks
Ross

Answers (1)

2011-09-05

Reland Pigte answers:

add this to your menu.css

.menu li:hover > ul {
color: #A37749;
display: block;
position: absolute;
width: 200px;
}

change line 23 to this

.menu ul {
list-style-type: none;
margin: 0;
padding: 0;
display: none;
}

hope that works for ya