Archived topic
Search Icon without Primary Menu in Desktop
3 replies · Started by Vish on June 13, 2021
Hello team
I only have search icon in desktop and no menu. When we click on the menu icon, usually the search form extends till the entire primary menu width. Without the menu, this is becoming an issue.
How can show search in Desktop (in Header) without using a menu?
Link added!
Thanks.
Hi there,
Try activating this option:
https://docs.generatepress.com/article/navigation-as-a-header/
Let me know if this helps :)
Leo - Yes, that's an option. But is there any way I get to keep the header and also search (without menu).
For example, in mobile, when the search icon is clicked, a nice search form appears right below the header. Is there any way I can achieve the same on desktop as well?
Like, when I click on the search icon in desktop, any way to make the search form appear below the header?
Can you try the navigation as header with this CSS?
.navigation-search.nav-search-active {
top: 100%;
}