No Submenu after adding additional CSS
-
I added this styles to my styles.css and it does not work because I do not use the class “navbar” for the div holders in my menu.
My menu uses the class “header-menu” and “menu” – I did not know how to recongigure the css to make the submenu work and I tried this with no results.
.dropdown-menu .sub-menu {
left: 100%;
position: absolute;
top: 0;
visibility: hidden;
margin-top: -1px;
}.dropdown-menu li:hover .sub-menu {
visibility: visible;
}.dropdown:hover .dropdown-menu {
display: block;
}.nav-tabs .dropdown-menu, .nav-pills .dropdown-menu, .menu .dropdown-menu {
margin-top: 0;
}.menu .sub-menu:before {
border-bottom: 7px solid transparent;
border-left: none;
border-right: 7px solid rgba(0, 0, 0, 0.2);
border-top: 7px solid transparent;
left: -7px;
top: 10px;
}
.menu .sub-menu:after {
border-top: 6px solid transparent;
border-left: none;
border-right: 6px solid #fff;
border-bottom: 6px solid transparent;
left: 10px;
top: 11px;
left: -6px;
}
It didnt work.This is the current state of the wordpress menu with the bootstrap plugin http://sharibetty.com/clients/bostonpads/nextgenrealty-wp/boston-apartment-rentals/
This is what the menu should be with sub-menu and hovers http://sharibetty.com/clients/bostonpads/nextgenrealty/
The topic ‘No Submenu after adding additional CSS’ is closed to new replies.