Site logo

Archived topic

Change text and typing color at search box widget on header

4 replies · Started by Quested on July 31, 2022

Viewing posts 1–5 of 5

Hi guys
Kindly help me change text and typing color at search box widget that I am using on header of this site. I tried many CCS snippets from your Support Form. But none is working for me. I want to use any visible (Preferable White or Gray ) text and typing color.

Humble Regards

???

Hello there,

You can try adding this through Customize > Additional CSS:

.header-widget input#wp-block-search__input-1, .header-widget input#wp-block-search__input-1::placeholder{
    color: #fff;
}

Or this for just the “typing” text:

.header-widget input#wp-block-search__input-1 {
    color: #fff;
}

You may change the color value to your preference.

Let us know how it goes.

Awesome. Worked perfectly.
Thank you so much.

You’re welcome!

This archived topic is closed to new replies.