Sub Menus not working in Wordpress

I am updating a website that I did not create. The dropdown menu feature is not working. I have a page set up as a submenu option and it is still not showing. The previous webmaster must have updated code for this.Thanks

Here is the CCS and the javascript

/* -- Navigation -- */
.menu {
      list-style-type: none;
      clear: both;
      margin: 10px 0px 10px 0px;}
.menu > li {
      float: left;
      position: relative;}
.menu > li:hover a {
      background: #ff0099;
.menu > li > a {
      font-family: 'Port Lligat Sans', sans-serif;
      color: #FFF;
      text-transform: uppercase;
      font-size: 16px;
      padding: 8px 12px;}
.menu > li > a:hover {
      background: #ff0099;
      text-decoration: none;}
.menu > li.current-menu-item > a {
      background: #ff0099;}
.menu li ul.sub-menu {  
      margin: 0;
      padding: 0;
      display: block;
      position: absolute;
      z-index: 999;
      top: 15px;
      width: 180px;
      display: none;
      left: 0;
.menu li ul.sub-menu li {  
      margin: 0;
      padding: 0;
      float: none;
      position: relative;
      list-style: none;
      display: block;
      background: #FF0099;
      padding: 8px 12px;}  
.menu li ul.sub-menu li a {  
    display: block;
    color: #FFF;}
.menu li ul.sub-menu li a:hover { /*--Hover effect for subnav links--*/  

in Header.php
 <!-- Navigation -->
    <script type="text/javascript">
         $(function () {
            $('.sub-menu').each(function () {
            $(this).parent().eq(0).hover(function () {
            $('.sub-menu:eq(0)', this).show();
            }, function () {
            $('.sub-menu:eq(0)', this).hide();
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David H.H.LeeCommented:
.menu li ul.sub-menu {  
---->      display: none; //remove this line

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
HidesignAuthor Commented:
Thanks - worked perfect
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.