- This topic has 15 replies, 4 voices, and was last updated 3 years, 3 months ago by
Fernando.
-
AuthorPosts
-
March 5, 2023 at 6:22 am #2556240
Liran
Hey there,
Is it possible to show only the search icon in the menu, without the search box or the close icon?
Thanks!
March 5, 2023 at 7:34 am #2556330David
StaffCustomer SupportHi there,
that particular site is using a 3rd party search service.
For a simple search modal, we have just added that to GP 3.3 which is in Alpha release:
https://generatepress.com/generatepress-3-3-0/
See here for screenshot:
March 5, 2023 at 8:49 am #2556526Liran
Hey David,
I already use a 3rd party search service and I successfully followed their Site Search Integration instructions.
Now I just need a simple, static search icon that users can click on.
March 5, 2023 at 11:11 am #2556619David
StaffCustomer SupportMarch 5, 2023 at 11:52 am #2556655Liran
Thanks!
Any idea why the cursor doesn’t change to a hand pointer when I hover over the icon?
March 6, 2023 at 2:04 am #2557099David
StaffCustomer SupportBecause the clickable element isn’t a link – it will need some CSS to make it so.
Can i see your site with the icon in place? Then i can see what ID/Classes to style.March 12, 2023 at 2:12 am #2564647Liran
Hey David,
Here, have a look.
March 12, 2023 at 6:45 am #2564825David
StaffCustomer SupportTry adding this CSS:
#grow-me-search { cursor: pointer; }March 12, 2023 at 8:57 am #2565051Liran
Perfect 🙂
Appreciate the support.
March 13, 2023 at 3:35 am #2565733David
StaffCustomer SupportYou’re welcome
March 13, 2023 at 4:41 am #2565787Ravi Dixit
Hey, David!
How can I follow this and add a search icon in my custom header creating using the Elements?
March 13, 2023 at 10:04 am #2566281David
StaffCustomer SupportHi there,
this topic was related to a 3rd party search option. What would your requirement be ?
March 13, 2023 at 1:34 pm #2566476Ravi Dixit
I am using GeneratePress and created by navigation bar using Block Element.
I just want to add a search icon at the right side in the Nav bar so users can search, that’s it!
March 13, 2023 at 7:48 pm #2566687Fernando Customer Support
Hi Ravi,
You can try adding a WordPress Search Block to your Block Element.
Reference: https://wordpress.org/documentation/article/search-block/
March 14, 2023 at 1:28 am #2566903Ravi Dixit
I already did, it is adding an entire search field along with the search icon
I only need a search icon.
-
AuthorPosts
- You must be logged in to reply to this topic.