WordPress.org

Ready to get started?Download WordPress

Forums

Search Form Value not appering after clicking other area (1 post)

  1. iseox
    Member
    Posted 2 years ago #

    Hi

    I inserted a search form in my site. here it is http://quicksurvivalkits.com/. I sated its value is "Search superstores here..." . it appears in search box. when i click on search box, it disappears its ok, but when i click anywhere in site, it does not come back again. how to fix it?

    I used the following code in my search form in searchform.php
    <form role="search" method="get" id="searchform" action="<?php bloginfo('siteurl'); ?>">
    <div>
    <label class="screen-reader-text" for="s"> </label>
    <input type="text" id="s" name="s" value="Search superstores here..." size="52" style = "background: none #ADEBAD " />
    in <?php wp_dropdown_categories( 'show_option_all=All Categories' ) ; ?>
    <input type="image" style="position:relative; top:10px; border: none; " name="" src="http://quicksurvivalkits.com/wp-content/themes/gazette/styles/phone2/search.gif" value="Search" id="searchsubmit" />
    </div>
    </form>

Topic Closed

This topic has been closed to new replies.

About this Topic