Archived topic
Navigation Bar Search Icon
7 replies · Started by Christy Steele on April 29, 2016
Dear Tom,
I am using generate press on a website for a client at http://www.tappinginschools.com
I am doing a few updates and want to add the word "Search" into the navigation bar next to the search icon. I can't for the life of me figure out how I got that search icon into the navigation bar and how I edit it. Can you help with that? I searched the forum and couldn't find information about it. Thank you for any assistance you can provide. And thank you for a great wordpress template!
Christy
Hi Christy,
This CSS might help:
.search-item a:before {
content: "Search ";
}
Adding CSS: https://generatepress.com/knowledgebase/adding-css/
Let me know :)
Perfect. Thank you!
You're welcome :)
Hello, Tom!
Tell me, please, how I can edit word "Search..." in search form? I want to write another word there.
Thank you for a help and for great wordpress template!
Excuse me, Tom, I must be added it:
add_filter('generate_search_placeholder','generate_custom_search_placeholder');
function generate_custom_search_placeholder()
{
return 'Enter your search term here';
}
using the plugin and? Or who?
This should help: https://generatepress.com/knowledgebase/adding-php-functions/
