Archived topic
Submenu in line with the edge of the navigation bar
3 replies · Started by Diogenes on October 24, 2018
It is possible that the submenu was placed at the height of the edge of the navigation bar.
I was able to do it with this code:
.main-navigation ul ul {
margin-top: 16px;
}
The problem is that when I try to select the submenus, they disappear.
Is it possible to do this?
I leave you a capture of what I would like to do:
[img]http://img.fenixzone.net/i/IJ2tefK.png[/img]
I would appreciate any help
Hi there,
Give this a shot:
.main-navigation .main-nav > ul > li > .sub-menu {
padding-top: 16px;
background: transparent;
border: 0;
}
.main-navigation .main-nav > ul > li > .sub-menu > li {
background: #fff;
}
Let me know :)
Thanks Tom, it worked well.
Add this in addition to the sticky bar:
.sticky-navigation-transition.main-navigation .main-nav > ul > li > .sub-menu {
padding-top: 11px;
}
Greetings.
Awesome, glad I could help :)