Tagged: Search Bar, search field
My users end up accidentally searching for their topic plus “search site”. The text isn’t clearing when the field is clicked. I don’t mind having no text at all if that’s the easiest work around. Otherwise, what do I need to edit to make that text disappear when the search box is selected / clicked into?
Hi Veronica!
Thank you for using Enfold.
How did you add the search bar? Is this the default search widget? Try to replace it with a text widget then add this code:
<form role="search" method="get" id="searchform" action="//veronicakirin.com/">
<div>
<label class="screen-reader-text" for="s">Search for:</label>
<input type="text" value="" name="s" id="s" placeholder="Search our Images">
<input type="submit" id="searchsubmit" value="Search">
<input type="hidden" name="post_type" value="product">
</div>
</form>
Cheers!
Ismael