Site logo

Archived topic

Navigation Search Colors

3 replies · Started by Paul on October 21, 2019

Viewing posts 1–4 of 4

If I use this css

.navigation-search input[type="search"], 
.navigation-search input[type="search"]:active {
    color: #0b0c0c;
    background-color: #ffdd00;
}

The text color when typing is #ffdd00 so it can't be seen. It can be seen if the mouse button is held down. How can I correct this?

Thanks,
Paul.

Hi there,

Try this instead:

.navigation-search input[type="search"], 
.navigation-search input[type="search"]:active,
.navigation-search input[type="search"]:focus {
    color: #0b0c0c;
    background-color: #ffdd00;
}

Yeah sorted. Thanks for your help.

No problem :)

This archived topic is closed to new replies.