Change text colour of the text in the search box

Change text colour of the text in the search box

Alcohol-Free10
Visitor
2 0 0

Hello,

On our search box, the text is Gray, and move over changes this to black. is there a way to change this so its just black all the time.

I have tried adding code to the base.css.liquid asset and a few other css places and no joy

.search__input.field__input {
    color: #000000 !important;
}

We using Morata Theme from Theme Forest

 

 

Reply 1 (1)

EBOOST
Shopify Partner
1224 319 366

Hi @Alcohol-Free10 ,

May I suggest code below:

.search__input.field__input::placeholder, 
.frm_search_input .search_header__input::placeholder {
    color: #000000 !important;
}
- Hope can help. If you find my reply helpful, please hit Like and Mark as Solution
- Need a Shopify developer? Contact email: eboost10@gmail.com
- Visit our site: https://www.eboosttech.net to view and download shopify themes and magento2 extensions free
- ❤❤DONATE ❤❤Coffee tips