Hi, I need to change the search bar in mobile drawer to white with black font. My site is https://lux360.net
Hey @Luxluxlux360
Follow these Steps:
-
Go to Online Store
-
Edit Code
-
Find theme.liquid file
-
Add the following code in the bottom of the file above tag
RESULT:
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Best Regards,
Moeed
To complete your requests, please follow these steps:
- Go to Shopify Admin > Online Store > Theme > Customize > Theme Settings > Custom CSS https://prnt.sc/i8ljAMlHJUKl
- Paste the code provided into the Custom CSS section.
@media screen and (max-width: 768px){
div#search-drawer {
background: white !important;
color: black !important;
border-block: 1px solid rgba(0, 0, 0, 0.5) !important;
}
}
Here is the result: https://prnt.sc/GXJrb0Nbyux-
If it helps, please let us know by giving it a Like or marking it as a Solution!
Best Regards,
Daisy
Hi @Luxluxlux360 ,
Please go to Actions > Edit code > Assets > theme.css file and paste this at the bottom of the file:
@media only screen and (max-width: 479px) {
.search__predictive {
--bg: #fff;
border-top: 1px solid var(--COLOR-NAV-BORDER);
border-bottom: 1px solid var(--COLOR-NAV-BORDER);
--text: var(--COLOR-NAV);
--text-dark: var(--COLOR-NAV);
--text-light: var(--COLOR-NAV);
}
}