Support » Fixing WordPress » Search Form Value not appering after clicking other area

  • Hi

    I inserted a search form in my site. here it is 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’); ?>”>
    <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=”” value=”Search” id=”searchsubmit” />

  • The topic ‘Search Form Value not appering after clicking other area’ is closed to new replies.