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.

Change search background

4 posters

Go down

Solved Change search background

Post by Drunk3nGaming August 19th 2013, 8:01 am

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
avatar
Drunk3nGaming
Forumember

Posts : 31
Reputation : 1
Language : English

Back to top Go down

Solved Re: Change search background

Post by Ange Tuteur August 19th 2013, 9:49 am

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
Ange Tuteur
Ange Tuteur
Forumaster

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

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Change search background

Post by Drunk3nGaming August 19th 2013, 10:49 am

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

http://drunk3ngaming.forumotion.com/f1-announcements
avatar
Drunk3nGaming
Forumember

Posts : 31
Reputation : 1
Language : English

Back to top Go down

Solved Re: Change search background

Post by runawayhorses August 19th 2013, 2:13 pm

Add this to your css styleshert:

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

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

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: Change search background

Post by Drunk3nGaming August 19th 2013, 10:05 pm

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.
avatar
Drunk3nGaming
Forumember

Posts : 31
Reputation : 1
Language : English

Back to top Go down

Solved Re: Change search background

Post by SLGray August 20th 2013, 2:47 am

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.
SLGray
SLGray
Administrator
Administrator

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

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum