How do I make it so that when using the search bar, it doesn’t show up as transparent and has at least a white background? I’m using the spotlight 13.0 theme.
Site URL: https://minimeessentials.com/
How do I make it so that when using the search bar, it doesn’t show up as transparent and has at least a white background? I’m using the spotlight 13.0 theme.
Site URL: https://minimeessentials.com/
Hello @KGreene_24
Please paste the given CSS in base.css file at the bottom.
body .predictive-search {
background: white;
}
OUTPUT:
Thanks
Hey @KGreene_24 ,
I’ll give you both options, The first one is if you just want to get rid of the transparency and keep the gradient colour, the second one is to get rid of the gradient and make it white colour.
Go to your theme’s “Edit Code” Option, then in the search bar type “theme.liquid”
Below the tag “” tag paste the following. Screenshot attached for reference.
Use this if you just want to remove the transparency but keep the gradient colour.
Use this if you want to get rid of the gradient and make it full white
Screenshot is for reference only, the correct code to paste is the one shown above.
Do you know how to change the background inside the search bar itself as well? Tp replace the gradient.