Dropdown Menus Don’t Show
-
Hello!
Please help–my drop down menus (the sub menus) don’t show after hovering my mouse over them. I have exhausted my options. My menu structure looks correct in that the sub menus are indented following the main tabs. I have tried editing the header.php and theme.css files as well.
From the header.php file I inserted depth
<?php wp_nav_menu( array(‘theme_location’ => ‘main_menu’, ‘menu_class’ => ‘menu’, ‘depth’ => ‘2’)); ?>And the theme.css file I added
#tiny li:hover > ul {
display: block;
visibility: visible;
}#menu #tiny li ul ul {
position: absolute;
left: auto;
right: -100%;
z-index: 2;
}I also tried adding this to the theme.css file
body.home .sub-menu {
display: block !important;
}#tiny li:hover ul {
display: block;
visibility: visible;
}#nav-main {
overflow: visible;
}Nothing has worked! Please help. The website I am trying to edit is https://chailaiorchid.com/
- The topic ‘Dropdown Menus Don’t Show’ is closed to new replies.