Archived topic
"Search" icon on mobile
5 replies · Started by Pedro on June 3, 2019
Hello! I would like to do the following:
Enable the search icon, which in the desktop version can be seen in the main menu. (as it comes by default)
But that in the mobile version, the search icon appears when you click on the menu, something like they do in the template "Merch"
Can you help me?
Thank you!
Hi there,
Merch uses the Off Canvas Panel which has its own Widget Area. You can add any search widget you need.
Hello david! Thanks for answering.
You are right, use the "Off Canvas Panel", however there are other Wordpress themes that I have seen that do so.
The search icon is not displayed but when you click on the menu (Mobile version)
And they are menus equal to the one that comes by default in GP, which when clicked opens below.
You can help?
Thank you!
Tom provides a solution to that here:
Once the function and CSS is added just add the search widget to the Off Canvas Panel and that will be displayed inside the normal mobile menu.
Hello david! I added the codes and if the field is shown, but the menu styles are broken
Any chance you can link me to a site that shows that error so i can take a look?