Hi, I’m new on this forum, I was looking for some infos about styling the search form in my WordPress theme. I successfully made my own searchform.php file template in my theme, but I would like to style it in the way is working here on css-trick.com.
Let’s be more specific: in my template I have <?php the_search_query(); ?> set as value for the text form. I would like to display a string (like a super-original "Search…") when there’s no search query inserted yet, and then display the actual search query when it was inserted.
Should I have to write some other php code or there’s another way to achieve that?
Thanks for your help.