Title: Responsive Search button
Last modified: August 31, 2016

---

# Responsive Search button

 *  [YOELO](https://wordpress.org/support/users/yoebo/)
 * (@yoebo)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/responsive-search-button/)
 * Hi all, could anyone show me the code for a simple search bar and submit button
   that is responsive (collapses on smaller screens) please?
 * I’m currently using the following and it’s just a bar without a button:
    `<form
   id="searchform" method="get" action="<?php bloginfo('home'); ?>/"> <input type
   ="text" value="Type & [Enter]" onfocus="if (this.value == 'Type & [Enter]') {
   this.value = '';}" onblur="if (this.value == '') {this.value = '[SEARCH]';}" 
   size="28" maxlength="50" name="s" id="s"> </form>`

The topic ‘Responsive Search button’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [YOELO](https://wordpress.org/support/users/yoebo/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/responsive-search-button/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
