• Resolved christernyc

    (@christernyc)


    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

Viewing 3 replies - 1 through 3 (of 3 total)
  • look in the default theme’s style.css around line 480 or so

    Thread Starter christernyc

    (@christernyc)

    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!

    Thread Starter christernyc

    (@christernyc)

    Ah yes, I was able to do all the necessary changes just directly using CSS.

    Thanks again for you help!

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

The topic ‘How do I customize my search button?’ is closed to new replies.