Search form background color (2 posts)

  1. getaroundbetter
    Posted 9 years ago #

    I've a problem with the theme I'm using (Fluidity - http://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 http://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.

  2. onocrotalus
    Posted 9 years ago #

    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">
    <form id="searchform" method="get" action="/index.php">
    <input type="text" name="s" id="s" size="15" />
    <input type="submit" value="Search" />

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic