Hello!
Here is the website:
https://mahindradirectparts.com/
Theme: Avenue
How can I make the search bar box outline bolder so it is more noticeable? It turns bold when you click in it, how do I make that the permeant style?
Hello!
Here is the website:
https://mahindradirectparts.com/
Theme: Avenue
How can I make the search bar box outline bolder so it is more noticeable? It turns bold when you click in it, how do I make that the permeant style?
Step 1. Go to Admin → Online store → Theme > Edit code
Step 2. Find the file theme.liquid.
Step 3. Add this code above
Result:
Hi @FlashFab
Step 1. Go to Admin → Online store → Theme > Edit code
Step 2. Find the file custom.css. Search for the following CSS snippet
.search-field.section-color {
box-shadow: inset 0 0 0 2px var(--black), inset 0 0 0 3px var(--white);
}
If it helps you, please like and mark it as the solution.
Best Regards
Hi @FlashFab ,
Or the below code:
Or the below:
Result:
And
And

Use the one that fits your needs
If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!
Hi @FlashFab ,
Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above tag:
Here is result:
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you ![]()
Hello @FlashFab , to do this just write this below code in your CSS file.
.static-search input[type="search"].search-field {
box-shadow: inset 0 0 0 2px var(--customer_font_color), inset 0 0 0 3px var(--white);
}
.search-section .text-center input[type="search"].search-field {
box-shadow: inset 0 0 0 2px var(--black), inset 0 0 0 3px var(--white);
}
Here is the screenshot of the same:-
Feel free to reach out if you have any additional questions. If this solution is helpful, please consider liking and accepting it.
S.P
Hello @FlashFab , Please follow these steps to add this CSS code:
.static-search input[type="search"].search-field {
color: var(--customer_font_color);
border: 2px solid var(--customer_font_color); /* change this border none to this value */
height: auto;
margin: 0;
min-height: auto;
padding: calc(var(--master_spacing) / 4) calc(var(--master_spacing) / 2);
}
.static-search .search-form.search-form-header > span button {
background: none;
color: var(--customer_font_color);
height: auto;
padding: 0;
border: 2px solid var(--customer_font_color); /* add this new CSS */
}
Feel free to reach out if you have any questions or need assistance.
Best Regards,
DWS.