• jOLT

    (@jolt)


    I want to edit the search box on the default WordPress theme. Which template controls this? I would like to basically replace the ‘Search’ button with a custom image.

    Thanks in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Eric Daams

    (@ericdaams)

    searchform.php is the form itself in the default theme. To replace the search button with a custom image, you can do this through style.css, by adding your custom image as a background image to sidebar #searchsubmit.

    Cheers,
    Eric

    Thread Starter jOLT

    (@jolt)

    Thanks Eric, legend.

    Thread Starter jOLT

    (@jolt)

    Sorry, but where exactly is the searchform.php file located?

    Moderator t-p

    (@t-p)

    Hi jolt,

    there is not search.php in the default theme directory. I remember I had to create one. see the following thresd for more…
    http://wordpress.org/support/topic/341538?replies=10

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Edit Search Box’ is closed to new replies.