My dropdown menu isn't dropping down

Hi there! I inherited a website and the theme seems to be custom. I have been trying add a "child" to a "parent" in the menu. I've tried doing it the same way I always have but it isn't dropping down. All menu items are displaying as a horizontal line. Maybe the theme doesn't support dropdown menus? Weird. I also have no idea when they started with and don't know how/if to update it. Thank you.

  • Nithin

    Hi Kathy Fisher,

    Hope you are doing good today. :slight_smile:

    It seems like the theme doesn't come with submenu support. You'll find the following CSS helpful, please try adding it, and check whether it helps:

    #topbanner {
            overflow: visible;
    }
    
    .nav-menu ul
    {
    	list-style:none;
    	position:relative;
    
    	margin:0;
    	padding:0
    }
    
    .nav-menu ul a
    {
    	display:block;
    	text-decoration:none;
    	font-size:12px;
    	line-height:32px;
    	padding:0 15px;
    
    }
    
    .nav-menu ul li
    {
    	position:relative;
    
    	margin:0;
    	padding:0
    }
    
    .nav-menu ul li.current-menu-item
    {
    	background:#ddd
    }
    
    .nav-menu ul li:hover
    {
    	background:#f6f6f6
    }
    
    .nav-menu ul ul
    {
    	display:none;
    	position:absolute;
    	top:100%;
    	left:0;
    	background:#fff;
    	padding:0
    }
    
    .nav-menu ul ul li
    {
    	float:none;
    	width:200px
    }
    
    .nav-menu ul ul a
    {
    	line-height:120%;
    	padding:10px 15px
    }
    
    .nav-menu ul ul ul
    {
    	top:0;
    	left:100%
    }
    
    .nav-menu ul li:hover > ul
    {
    	display:block
    }

    The above code should make the drop-downs work. Since you are already using a child theme, please add the above CSS in your child themes style.css file.

    Please let us know if you still need any further assistance. Have a nice weekend. :slight_smile:

    Kind Regards,
    Nithin

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.