Skip to content
Advertisement

Tag: genesis

Adding a search icon to a WordPress Search bar

I am using the following WordPress function to output a WP search form: echo get_search_form(); Resulting output on the frontend topbar: I would like to add a search icon (magnifying glass) inside the placeholder. Currently I have text only inside the placeholder. I tried using the before pseudo element with no luck. Similar to: The website can be found here:

Advertisement