Shopify themes, liquid, logos, and UX
Thanks in advance!
I am looking to remove the black border around my search bar on mobile. I am looking to keep the actual search bar just remove the black border. Example shown below.
How my site looks:
How I would like my site to look:
password: dc
Solved! Go to the solution
This is an accepted solution.
Add this css in your edit code > base.css file
.field .field__input:focus {
box-shadow: none !important;
outline: none !important;
}
If you require further help to optimize your store, please don’t hesitate to reach out.
This contribution will always benefit you and you will get my full help easily and you can contact me easily.
Contect On My Mail :-Mail@gmail.com
This is an accepted solution.
Hi @MMast
Try adding below code to end of component-search.css file
@media screen and (max-width:767px){
header .search-modal__content .search__input {
box-shadow: none;
}
}
If this information was helpful to you, please give it a Like. If it resolved your issue, kindly hit Like and mark it as the Solution! Thank you!
This is an accepted solution.
Hello @MMast
Go to online store ---------> themes --------------> actions ------> edit code-------> base.CSS -----> line number 1679
Add this code
.field__input:focus, .select__select:focus, .customer .field input:focus, .customer select:focus, .localization-form__select:focus.localization-form__select:after {
box-shadow: none;
outline: 0;
border-radius: var(--inputs-radius);
}
and the result will be
If this was helpful, hit the like button and mark the job as completed.
Thanks
This is an accepted solution.
Add this css in your edit code > base.css file
.field .field__input:focus {
box-shadow: none !important;
outline: none !important;
}
If you require further help to optimize your store, please don’t hesitate to reach out.
This contribution will always benefit you and you will get my full help easily and you can contact me easily.
Contect On My Mail :-Mail@gmail.com
This is an accepted solution.
Hi @MMast
Try adding below code to end of component-search.css file
@media screen and (max-width:767px){
header .search-modal__content .search__input {
box-shadow: none;
}
}
If this information was helpful to you, please give it a Like. If it resolved your issue, kindly hit Like and mark it as the Solution! Thank you!
This is an accepted solution.
Hello @MMast
Go to online store ---------> themes --------------> actions ------> edit code-------> base.CSS -----> line number 1679
Add this code
.field__input:focus, .select__select:focus, .customer .field input:focus, .customer select:focus, .localization-form__select:focus.localization-form__select:after {
box-shadow: none;
outline: 0;
border-radius: var(--inputs-radius);
}
and the result will be
If this was helpful, hit the like button and mark the job as completed.
Thanks
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025