I’m trying to edit the search button on a standard wordpress theme. What’s happening is that the image is there, but it says “submit query” on top of it. I’m hoping someone can help me. I know it’s probably something very simple but I just can’t seem to figure it out. Here’s my code:
html
<form method="get" id="searchform" action="<?php bloginfo('url'); ?>/">
<div><input type="text" value="<?php the_search_query(); ?>" name="s" id="s" />
<input type="submit" class="searchsubmit" />
</div>
</form>
css
.searchsubmit {
background: url('images/search.gif') no-repeat;
border: none;
width: 67px;
height: 26px;
margin-top: 10px;
}
.searchsubmit:hover {
background: url('images/search-hover.gif') no-repeat;
}
Any help is appreciated. Thanks.