Skip to content

Instantly share code, notes, and snippets.

@kimcoleman
Last active August 30, 2018 12:42
Show Gist options
  • Save kimcoleman/5e0b55ba48d3d7aa2d680f7d27c1d3bf to your computer and use it in GitHub Desktop.
Save kimcoleman/5e0b55ba48d3d7aa2d680f7d27c1d3bf to your computer and use it in GitHub Desktop.
Suggested improvements to make BuddyPress 3.1.0 'Nouveau' members search form display properly in Memberlite 4.0+
<style>
#primary form.bp-dir-search-form {
display: grid;
grid-template-columns: 4fr 1fr;
grid-template-areas: "input button";
}
#primary form.bp-dir-search-form input[type="search"]#dir-members-search {
border: none;
border-radius: 0px;
grid-area: input;
padding: 3px 10px;
width: 100%;
}
#primary form.bp-dir-search-form button#dir-members-search-submit {
box-shadow: none;
grid-area: button;
width: 100%;
}
#primary button#dir-members-search-submit:hover {
transform: none;
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment