Skip to content

Commit

Permalink
fixes for #35 and #53
Browse files Browse the repository at this point in the history
  • Loading branch information
bassjobsen committed Oct 31, 2013
1 parent da84ec9 commit e4ff216
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 5 additions & 3 deletions searchform.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
*/
?>
<form method="get" id="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>" role="search">
<label for="s" class="assistive-text"><?php _e( 'Search', 'jamedo-bootstrap-start-theme' ); ?></label>
<input type="text" class="field" name="s" id="s" placeholder="<?php esc_attr_e( 'Search &hellip;', 'jamedo-bootstrap-start-theme' ); ?>" />
<input type="submit" class="submit" name="submit" id="searchsubmit" value="<?php esc_attr_e( 'Search', 'jamedo-bootstrap-start-theme' ); ?>" />
<div class="form-group">
<label for="s" class="sr-only"><?php _e( 'Search', 'jamedo-bootstrap-start-theme' ); ?></label>
<input type="text" class="form-control" name="s" id="s" placeholder="<?php esc_attr_e( 'Search &hellip;', 'jamedo-bootstrap-start-theme' ); ?>" />
</div>
<input type="submit" class="btn <?php skematik_button_class();?>" name="submit" id="searchsubmit" value="<?php esc_attr_e( 'Search', 'jamedo-bootstrap-start-theme' ); ?>" />
</form>
3 changes: 3 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ button::-moz-focus-inner,input::-moz-focus-inner { /* Corrects inner padding and
input[type=text]:focus,textarea:focus {color: #111;}
textarea {overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */padding-left: 3px;vertical-align: top; /* Improves readability and alignment in all browsers */width: 98%;}

#searchsubmit {
display: none;
}

/* =Comments
----------------------------------------------- */
Expand Down

0 comments on commit e4ff216

Please sign in to comment.