Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,892
- Creating & Extending
- 25,913
- Requests & Feedback
- 9,553
- Third Party Plugins
- 9,834
- Showcase
- 3,316
- Ideas
- 1,404
- Miscellaneous
- 9,183
-
I added class="form-control" to input and btn class to submit button.
Hope this helps.
function cb_bp_directory_members_search_form() {
$search_form_html = '<form action="" method="get" id="search-members-form">
<label><input type="text" class="form-control" name="s" id="members_search" placeholder="'. esc_attr( $search_value ) .'" /></label>
<input type="submit" id="members_search_submit" class="btn" name="members_search_submit" value="' . __( 'Search', 'buddypress' ) . '" />
</form>';
return $search_form_html;
}
add_filter('bp_directory_members_search_form', 'cb_bp_directory_members_search_form');