The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
4 posters

    Change search background

    avatar
    Drunk3nGaming
    Forumember


    Posts : 31
    Reputation : 1
    Language : English

    Solved Change search background

    Post by Drunk3nGaming 19/8/2013, 08:01

    I'm having a problem with the search.

    If you look at my other search bar, the background is white, but the current one I want to change is the one boxed. When I type in it the input is black. so it's hard to see what you're typing on the black background.

    Change search background Search10
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: Change search background

    Post by Ange Tuteur 19/8/2013, 09:49

    Hello Drunk3nGaming,

    Try putting this in your CSS:
    Administration Panel > Display > Pictures and Colors > Colors > CSS stylesheet
    Code:
    #search-box #keywords{
    background-color:#333;
    }
    .inputbox {
    background-color:#333;
    color:#fff !important;
    }
    If the above does not work, please post a link to your forum.

    Edit: forgot text color and background of other inputs. *Added in
    avatar
    Drunk3nGaming
    Forumember


    Posts : 31
    Reputation : 1
    Language : English

    Solved Re: Change search background

    Post by Drunk3nGaming 19/8/2013, 10:49

    Okay I have tried the above but it does not seem to work.

    http://drunk3ngaming.forumotion.com/f1-announcements
    avatar
    runawayhorses
    Hyperactive


    Male Posts : 2537
    Reputation : 166
    Language : English
    Location : United States

    Solved Re: Change search background

    Post by runawayhorses 19/8/2013, 14:13

    Add this to your css styleshert:

    Code:
    input.search {
    background-color: #fff !important;
    }
    avatar
    Drunk3nGaming
    Forumember


    Posts : 31
    Reputation : 1
    Language : English

    Solved Re: Change search background

    Post by Drunk3nGaming 19/8/2013, 22:05

    Okay I did some removing of a big line of codes for chatbox since I believe I didn't need it, and somehow the code seemed to work now. Somehow I think the CSS script removes part of your code if there are too many lines. Thanks for the help.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51499
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: Change search background

    Post by SLGray 20/8/2013, 02:47

    There is a limit of how many lines you can have in your CSS.

    Topic Solved & Locked



    Change search background Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.

      Current date/time is 23/9/2024, 11:19