• I’ve a problem with the theme I’m using (Fluidity – https://kaushalsheth.com) and the background of the serach form – which is currently white. I tried to change the form color – only the form field, not the whole Search section, but failed. Users are currently not able to see my search form on https://getaroundbetter.de – because of the white form on white background.

    I’m using

    <div id=”searchdiv”>

    tried several atributes, but none worked. Any help appreciated.

Viewing 1 replies (of 1 total)
  • Your styling for “searchdiv” is incorrect CSS code; it should be in the form

    #searchdiv { border: 1px solid #000; }

    or whatever colour, line thinkness, etc. Also, “searchdiv” wraps the whole of the search area in the sidebar, as the HTML of your page shows:

    <div id="searchdiv">
    <ul>
    <form id="searchform" method="get" action="/index.php">
    <li><h2>Search</h2></li>
    <div>
    <input type="text" name="s" id="s" size="15" />
    <input type="submit" value="Search" />
    </div>
    </form>
    </ul>
    </div>

    The id of the search box itself is “s”. So if you add a style for “s” in your CSS file, you will be able change its appearance, e.g.

    #s { border: 1px solid #000; }

    See these CSS resources from the codex for more info.

Viewing 1 replies (of 1 total)
  • The topic ‘Search form background color’ is closed to new replies.