Viewing 5 replies - 1 through 5 (of 5 total)
  • Anonymous User 13489667

    (@anonymized-13489667)

    Hello.
    If your template supports it, you may solve with this:

    <?php include (TEMPLATEPATH . '/searchform.php'); ?>

    Otherwhise try the following:

    <form method="get" id="searchform" action="<?php bloginfo('home'); ?>/">
    <div><input type="text" size="put_a_size_here" name="s" id="s" value="Write your search and hit Enter" onfocus="if(this.value==this.defaultValue)this.value='';" onblur="if(this.value=='')this.value=this.defaultValue;"/>
    <input type="submit" id="searchsubmit" value="Search" class="btn" />
    </div>
    </form>

    Both are intended to be written on the header.
    Depending on your theme, you’ll have a different css file whith the header parameters.
    Add these lines (try the first one in the first place) where you want them to show up.

    Regards

    Thread Starter venkymyfreelancelifestyle

    (@venkymyfreelancelifestyle)

    sir,

    your code is not working.

    Thread Starter venkymyfreelancelifestyle

    (@venkymyfreelancelifestyle)

    Thread Starter venkymyfreelancelifestyle

    (@venkymyfreelancelifestyle)

    sir,

    your code is not working.

    Thread Starter venkymyfreelancelifestyle

    (@venkymyfreelancelifestyle)

    ok,thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘SEARCH FORM ADJUSTMENT’ is closed to new replies.