• Resolved Matthew

    (@kidsguide)


    Hi

    I am using the Wilson theme with WordPress version 3.9.1. I have noticed that the text in the search widget is to dark. I was wondering if you could give me the CSS code to change it in my child theme.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • .

    (@techievous)

    Try this:

    .widget_search .searchform input#s {
        color: #fff;
    }
    Theme Author Anders Norén

    (@anlino)

    Hi Matthew,

    The text in the search form should be a light grey (#A9A9A9) when the search field isn’t in focus – when it is, it should be white. What browser are you using.

    – Anders

    .

    (@techievous)

    @theme Author:

    It looks like this: https://i.imgur.com/1xr8cQD.png (If you zoom in a look really hard, you’ll see teh word Raccoon in the search box that I typed in).

    It happens on all major web browsers, latest version: IE, Safari, Firefox, Chrome.

    It occurs on your demo, too. To reproduce the problem, you can simply start typing something into the search box.

    I believe that happens due to these codes in your style:

    .searchform #s {
       color: #555;
    }
    
    .searchform #s:focus {
        color: #555;
    }
    Thread Starter Matthew

    (@kidsguide)

    Thanks @techievous and @anders Nor?n!

    The

    .widget_search .searchform input#s {
        color: #fff;
    }

    code works!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Text in search widget to dark. It is hard to see it.’ is closed to new replies.