Search bar in header help
-
Hi,
I have a search icon in my header, when i click it it opens the search box, can anyone tell which part of the code below i need to change to keep the search box there instead of having to click the icon to open it.
<div id="searchico"> <a href="#" id="search"><img src="<?php bloginfo('template_directory'); ?>/images/search_btn.png" width="19" height="19" alt="Search Btn"/></a> <form method="get" id="searchbox" action="<?php echo home_url(); ?>/"> <input type="text" value="<?php esc_attr_e('search this site...',''); ?>" name="s" id="s" /> </form> </div>
- The topic ‘Search bar in header help’ is closed to new replies.