Private: Home › Forums › HTML Templates › Mixed Modern and Professional HTML Template › Customizing the CSS dropdown submenu › Reply To: Customizing the CSS dropdown submenu
February 6, 2015 at 4:49 pm
#1976
Participant
Hello,
Sorry, I misunderstood you.
To achieve what you want, you will have to revert the changes (meaning that you should return top: value to -2px) and then go to line 843 (line above) where it is written:
.dropdown-submenu {
position: relative;
}
Add the !important rule so this doesn’t get overridden by any other css rule. The code should look like the following:
.dropdown-submenu {
position: relative !important;
}
The dropdown of a sub-menu should be aligned as you want it to be.
Robert