Okay
  Public Ticket #2362025
CSS issue in search widget
Closed

Comments

  • Jeff started the conversation

    I have pretty much everything setup the way I want it to look and work, but for the life of me I can't figure out where to change the color of the text on the search window in the "Search Widget" on the sidebar or my blog page. 

    On load, it reads: Search Keyword and Hit 'Enter' which is readable because it's gray on white. However, once you start typing a word into the search field, the font is white on the white background, so it can't be read. This is the standard Wordpress search widget. I'd prefer not to go mess with the coding on the CSS file if I don't have to. Is there a solution for this?

  •  1,103
    Max replied

    Hi,

    To change the placeholder color, use the custom CSS:

    .search-form ::placeholder {
        color: #f00;
    }

    To change the text color when you type, use the custom CSS

    input.search-field {
        color: #f00!important;
    }




    Thanks,


    Max from the Sonaar.io Crew

  • Jeff replied

    Thank you! That fixed it!