Archived topic
Drop down menu in top bar
5 replies · Started by Weatherly on September 10, 2021
We had a top bar menu using the nav widget position there. It WAS working before Wordpress 5.8.1. Not sure if it should have been, but it definitely did.
But now it doesn't work at all. You can see in the inspector the links are there. But they don't appear when the top level is clicked.
The main menu of course works just fine if you add drop downs to it.
Did something change in Generatepress or Wordpress? Is there no way to get a drop-down menu working in the top bar position?
Hi Weatherly,
I might be wrong, but as far as I remember, the navigation in top bar don't have drop down menu.
You can use Secondary Navigation instead, and you can choose its location to be above header.
Hope that's helpful :)
ok this is mixing up with our previous post now.
If I put the secondary bar and merge with top bar, then how do we get the social widgets just to the right of the menu?
https://generatepress.com/forums/topic/can-we-have-both-top-bar-widgets-on-the-right/#post-1926159
Can you try:
1. Remove the nav widget from top bar.
2. Set Navigation alignment to left at Customizing > Layout > Secondary Navigation.
Let me know :)
That puts the menu all the way over. But we had the nav menu on the right with the social icons just to the right. So they were both on the right.
I thought you wanted the menu and icons to the two sides of the top bar, sorry for the misunderstand.
In this case, add this CSS:
body .secondary-navigation .inside-navigation {
justify-content: flex-end;
}
.secondary-nav-aligned-right .secondary-navigation .top-bar {
margin-right: 0 !important;
order: 3;
}