Tagged: search icon
-
AuthorPosts
-
February 12, 2018 at 6:30 pm #911256
Hello –
I’m looking for a way to replace the default search icon on the main menu with the Google Custom Search icon. Is there an easy way to do this? Google Custom Search is telling me to add their shortcode ([wp_google_searchbox]) in to create a search box but that doesn’t seem to work when using in Enfold menu.
And Advice?
Thank you for all the support!
– Kelly
February 12, 2018 at 9:41 pm #911388Hey KellyKilgallon,
Have you enable the option to execute shortcodes on menu?
Best regards,
BasilisFebruary 13, 2018 at 5:10 am #911506Yes, but this doesn’t seem to work. I can place the shortcode in pages & widgets and it appears fine, just not in the menu. Any advice?
- This reply was modified 6 years, 10 months ago by KellyKilgallon.
February 13, 2018 at 9:33 pm #911898Hi,
Can you please add the following to your menu and let us know if that would work?
add_filter('wp_nav_menu_items', 'do_shortcode');
Thank you
Best regards,
BasilisFebruary 13, 2018 at 11:08 pm #911974Hi – I added that to my menu (see links below) but it did nothing. Not sure if I did it correctly. Do I need to add something to my quick CSS?
February 15, 2018 at 2:27 am #912568Hi,
Thank you for the update. You have to add the filter in the functions.php file. Please provide the login details in the private field. We’ll check the site.
Best regards,
IsmaelFebruary 15, 2018 at 4:52 am #912603Just added the filter to the functions.php file and it still does not work. See below for login details.
February 16, 2018 at 4:51 am #913084Hi,
The search bar is rendering but it’s not displaying because of the default styling. We added this code in the Quick CSS field.
#wgs_widget_wrapper_id { display: block !important; opacity: 1 !important; width: 300px; }
It will require a lot more adjustments. Please contact the plugin author for additional help.
Best regards,
IsmaelFebruary 20, 2018 at 5:29 am #914684Excellent! Thanks for all the help. I can take it from here.
I appreciate it.
February 20, 2018 at 8:41 pm #914997Hi,
Glad we could help!
Please take a moment to review our theme and show your support https://themeforest.net/downloads
To know more about enfold features please check – http://kriesi.at/documentation/enfold/
Thank you for using Enfold :)Best regards,
Basilis -
AuthorPosts
- The topic ‘Google Custom Search Icon’ is closed to new replies.