- This topic has 18 replies, 3 voices, and was last updated 2 years, 8 months ago by
Fernando.
-
AuthorPosts
-
January 11, 2023 at 8:34 am #2491649
russel
I tried this method: https://generatepress.com/forums/topic/move-the-search-icon-to-the-header/
But it doesn’t work at my end: https://darkfaqs.com/
Could someone provide assistance?
January 11, 2023 at 11:21 am #2491818Leo
StaffCustomer SupportHi there,
Not sure if I fully understand.
What exactly are you trying to achieve?
Can you activate the navigation search first?
https://docs.generatepress.com/article/navigation-search/January 11, 2023 at 5:33 pm #2492152russel
Already activated it but didn’t do anything.
here’s the feature that I want
[img]https://i.imgur.com/mSE4UPt.jpg[/img]
January 11, 2023 at 6:23 pm #2492186Fernando Customer Support
Hi Russel,
Can you provide admin login credentials? We’ll take a closer look at the issue.
Please use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
January 11, 2023 at 7:32 pm #2492224russel
see attached credentials
January 11, 2023 at 7:43 pm #2492228Fernando Customer Support
Thank you!
1. Go to Appearance > Widgets, and delete the Search Widget in the Right Sidebar. Example: https://share.getcloudapp.com/geuOygA2
2. As for the GP Search Icon not working, can you first create a menu in Appearance > Menus? Then, assign it to your Primary Menu or Off Canvas menu. Reference: https://docs.generatepress.com/article/using-the-wordpress-menu-builder/
If this doesn’t do anything, try #1 here: https://docs.generatepress.com/article/debugging-tips/
January 11, 2023 at 8:11 pm #2492242russel
I got all the steps working. But How do I make a functional search menu with an icon?
January 11, 2023 at 8:27 pm #2492252Fernando Customer Support
It’s still not appearing. Have you tried disabling all non-GP plugins?
If not, can you try it?
January 11, 2023 at 8:57 pm #2492280russel
I disabled all plugins except for code snippets and GP premium.
Still not working
January 11, 2023 at 9:07 pm #2492285Fernando Customer Support
You have this Snippet:
add_action( 'wp', function() { if ( 'enable' === generate_get_option( 'nav_search' ) ) { remove_action( 'generate_menu_bar_items', 'generate_do_navigation_search_button' ); add_action( 'generate_secondary_menu_bar_items', 'generate_do_navigation_search_button' ); remove_action( 'generate_inside_navigation', 'generate_navigation_search' ); add_action( 'generate_inside_secondary_navigation', 'generate_navigation_search' ); } }, 20 );
Disable or remove this to make it appear.
January 11, 2023 at 9:20 pm #2492295russel
It works now!
Did you set up some css code or something?
I just disabled things and it just suddenly show up on the headers.
January 11, 2023 at 9:21 pm #2492296Fernando Customer Support
No, I didn’t change anything on your site.
Glad it’s appearing now!
January 11, 2023 at 9:24 pm #2492298russel
okay then.
How do I move it?
it is blocking the hamburger thing whenever I try to search
January 11, 2023 at 10:14 pm #2492324Fernando Customer Support
Where would you like to move it?
January 11, 2023 at 10:40 pm #2492344russel
If it’s possible, I want the header to be position like this
just the header, ignore the content
[img]https://i.imgur.com/5lbPntc.jpg[/img]
-
AuthorPosts
- You must be logged in to reply to this topic.