Archived topic
change the name of search buttom
7 replies · Started by Silvano on September 6, 2017
Hi,
I need to rename the search button in the navigation menu.
How can you do that? Can you help me with this?
Hi there,
Try this filter:
https://docs.generatepress.com/article/generate_search_placeholder/
Example here:
https://generatepress.com/forums/topic/enter-predefined-text-in-searchbox/#post-151337
Hi Leo, thanks for your help.
What I really need is change de name of submit buttom and this filter change the placeholder text.
I did not find in the documentation a way to do this. I have now resolved with Say What plugin but if there is another way to make that change I'd like to know.
Best, Silvano
Hmm there isn't a submit button for GP's default search?
Can you link me to the site?
Hi Leo,
Sorry was my mistake, but is not submit button, is the Search link in navegation menu.
What I need to do is show text instead Search icon and change text too.
you can see in this link
http://silper.net.br/masite/
I'm still working in search results :)
thank you
Currently you have some CSS that is displaying screen reader text, which is there for screen readers - it's not meant to show normally.
You should remove that screen reader custom CSS, and then do this:
li.search-item i:after {
content: "Search";
}
li.search-item i:before {
content: "";
}
Hello Tom,
what my client wants is that the icon and text appear together. (I.e.
Anyway, I understood what should be done. :)
Thank you very much for your help.
You're welcome :)