Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
hello how can i make my search bar like this
mine looks like this right now !
Hi @Sohan2198,
Could you kindly provide us with your store URL and the protected password (if applied), so that our team can offer you the necessary support?
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
Here are the steps you can follow:
1, Navigate to Online Store > Themes > Edit Code.
2, Locate and open the base.css (or theme.css, custom.css) file.
3, Paste the code snippet provided below at the bottom of the file, then save your changes.
form.search.search-modal__form .field:after {
box-shadow: none !important;
}
Here is the result
We hope this assists in resolving the issue.
If you find our solution helpful, kindly consider Liking and Marking it as Accepted. Thank you!
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
like this
search baar in center
Here is the code you can use to move the search box to the center
form.search.search-modal__form .field:after {
box-shadow: none !important;
}
form.search.search-modal__form .field input:focus {
box-shadow: none !important;
}
@media screen and (min-width: 990px) {
form.search.search-modal__form .field .search_input.field_input {
background: transparent;
}
form.search.search-modal__form {
position: relative;
right: 27vw;
}
}
@media screen and (min-width: 1200px) {
form.search.search-modal__form .field .search_input.field_input {
background: transparent;
}
form.search.search-modal__form {
position: relative;
right: 320px;
}
}
Here is the result
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
show 2 close button
Mobile View right now
make like this
Hello! @Sohan2198
I hope you're doing well. Kindly share your website URL and Password (if enabled) and I would be more than happy to help you out!
Kind Regards,
Aatiqa
Hello! @Sohan2198
Kindly, follow the below steps to fix your problem:
1) From your Shopify admin dashboard, Go to Online Store
2) Choose the theme which you wanna edit and click on Edit Code
3) Add this code in the end of theme. liquid file above </body>
<style>
form.search.search-modal__form .field:after {
box-shadow: unset !important;
}
</style>
Result:
if I was able to help you and my solution worked well for then, please don't forget to Like it and Mark it as Solution.
Best Regards,
Aatiqa
Mobile View right now
make like this
Hey @Sohan2198
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
form.search.search-modal__form .field:after {
box-shadow: unset !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
like this
search bar center
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024