christernyc
Member
Posted 3 years ago #
Hello Folks,
I would like to customize my search button and I'm looking for the form coding. I've read that is in the searchform.php, but I can't seem to find it. By the way, I am customizing the default theme so that may give a clue to where the search form is.
Where is the searchform.php, or is the search button code in another spot with WordPress 2.7? I know the form coding is some place, because there is an operational search button form on the blog.
Thank you in advance
look in the default theme's style.css around line 480 or so
christernyc
Member
Posted 3 years ago #
Hello Samboll,
Thanks for your time with helping me.
I do know where the coding is on the css end, I just want to know where this is:
<form method="get" id="searchform" action="<?php bloginfo('url'); ?>/">
<label class="hidden" for="s"><?php _e('Search for:'); ?></label>
<div><input type="text" value="<?php the_search_query(); ?>" name="s" id="s" />
<input type="submit" id="searchsubmit" value="Search" />
</div>
</form>
I do not have a searchform.php, where I understand it should be.
Hope that helps,
Thanks!
christernyc
Member
Posted 3 years ago #
Ah yes, I was able to do all the necessary changes just directly using CSS.
Thanks again for you help!