Skip to content

Instantly share code, notes, and snippets.

@wplit
Last active October 29, 2020 23:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wplit/72aff9c26a8b01dfc80b7a7520f596bb to your computer and use it in GitHub Desktop.
Save wplit/72aff9c26a8b01dfc80b7a7520f596bb to your computer and use it in GitHub Desktop.
expanding search using header search component
/* Change ID to your component */
.oxy-header-search {
position: relative;
width: 200px;
}
#-header-search-163-271 .oxy-header-search_form {
position: absolute;
width: 0;
}
#-header-search-163-271 .oxy-header-search_form.visible {
width: 100%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment