Shopify themes, liquid, logos, and UX
I want to change shape and size of search box on header, I want it to be expandable after you click it.
like on nude project - https://kartbagrationvalley.com/
when you click "search" it expands.
my website: https://kartbagrationvalley.com/
Thank you 🙏
Hi @Nikxj44
Paste this CSS in base.css
.Search__SearchBar {
margin: auto;
display: flex;
align-items: center;
max-width: 50rem;
border: 1px solid #000000;
padding: 10px;
border-radius: 5px;
}
Let me know if it's helpful by like and accept my solution.
Best Regards,
Team_OSC
it didn't changed anything, I want to make search to be clickable text "search" when you click it it expands like nude project
details[open]>.search-modal {
background: #ffffff;
}
.field__input {
border-radius: 0;
background: #ffffff;
margin: auto;
}
.search-modal {
height: 40%;
min-height: 40%;
}
.modal__content {
top: 100%;
}
.field:after {
box-shadow: none;
}
.field:hover {
border: none;
}
.field:hover.field:after {
box-shadow: none;
border-radius: 0;
}
.field__input:focus {
box-shadow: none;
border-radius: 0;
}
.field__button {
left: -40px;
}
@media screen and (min-width: 990px) {
.search-modal__form {
max-width: 100%;
}
}
@media screen and (max-width: 767px) {
.search-modal {
height: 100%;
min-height: 100%;
}
}
I hope this will help you.
Best Regards,
Team_OSC
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025