Shopify themes, liquid, logos, and UX
Store url: onlinebeautyessentials.com
Just need to center the search box that opens on mobile and move it up so it opens directly under the header.
Like this..
Solved! Go to the solution
This is an accepted solution.
Hi @Loz86 , we will change some css code to do that go to base.css and search for this piece of code :
@media screen and (max-width: 989px) {
details-modal.header__search {
position: absolute;
left: 80px;
}
details[open]>.search-modal {
top: 90px;
width: calc(100vw - 55px);
margin: 0px auto;
left: -50px;
}
}
you will need to change two properties the top and width like this:
details[open]>.search-modal {
top: 5.5rem;
width: 100vw;
margin: 0px auto;
left: -50px;
}
This is an accepted solution.
Hi @Loz86 , we will change some css code to do that go to base.css and search for this piece of code :
@media screen and (max-width: 989px) {
details-modal.header__search {
position: absolute;
left: 80px;
}
details[open]>.search-modal {
top: 90px;
width: calc(100vw - 55px);
margin: 0px auto;
left: -50px;
}
}
you will need to change two properties the top and width like this:
details[open]>.search-modal {
top: 5.5rem;
width: 100vw;
margin: 0px auto;
left: -50px;
}
Thanks Abdosamer,
Just bought you a coffee 👍
Thanks, feel free to contact me anytime if you need help.
User | RANK |
---|---|
183 | |
169 | |
77 | |
56 | |
45 |
Transform this holiday season into a shopping spree. Plus, learn how to effortlessly open ...
By Jasonh Dec 8, 2023Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023