Shopify themes, liquid, logos, and UX
I need help changing my search bar color, i would like it to be #D9D9D9, What is some code to this
theme: dawn
Website: desire-online.net
Hello @jakegrieveson
Its Artzen Technologies! We will be happy to help you today.
You want like this:
Let me know if need further assistance
Regards,
Artzen Technologies
i would like the outer search header to be #D4D1D1, and the actual search bar and search suggestions to be #D9D9D9.
You can try to follow these steps:
Go to Online Store -> Themes -> Actions -> Edit code.
Go Assets folder -> theme.liquid file.
Add the following code in the bottom of the file above </body> tag
<style>
.search__input.field__input {
background: #d9d9d9;
}
div#predictive-search-results {
background-color: #D9D9D9 !important;
}
.search-modal.modal__content.gradient {
background-color: #D4D1D1 !important;
}
</style>
after that:
You can follow the following steps:
1. Please go to the Online Store.
2. Then Edit Code.
3. Please find the theme.liquid file.
4. Please add code before closing the tag </body> tag.
<style>
div#predictive-search-results {
background-color: #D9D9D9 !important;
}
.search-modal.modal__content.gradient {
background-color: #D4D1D1 !important;
}
</style>
If this solution is worked, then please Like this and Mark this as accepted solution!
Laddi
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025