Support » Fixing WordPress » Search Submit Button (IMG)

  • JackCardus


    Hey all, I’ve been looking round, and I cant see any topics on the subject, so here goes:

    How do you change the “Submit” button by the search textbox into an image? there is a normal way to do it, and I’ve used it before in other websites. But when I try the same method with the “Searchform.php” File it dosen’t work.

    This is the line of code I tried, and I’m testing within Localhost.

    <input type=”image” src=”images/submit_button.gif” height=”20″ width=”41″ border=”0″ alt=”Submit Form” id=”searchsubmit” value=”Search”>

    Here is the default code, before I changed it:

    <input type=”submit” id=”searchsubmit” value=”Search” />

    Any help would be greatly apprichiated, Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • w3central


    The way you do it should display an image, but check that you have the correct template file (eg add a word where you change it and see if that word appears also).

    Btw, your site seems to be a copyright violation.



    Thanks, how is my website a violation? What website?

    Les Bessant


    It isn’t. You’re just showing your Flickr page in a frame, which some people might mistake for you copying Flickr’s design and content and presenting it as your own….

    css and a button

    (right at the bottom)



    Sorry, didn’t see it was a frame. Just saw the search/submit button and assumed it was yours. Just be carefull with these things.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Search Submit Button (IMG)’ is closed to new replies.