Community Central
Community Central
Forums: Index Community Central Forum Is there a way to change the color of the searchbox
Fandom's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.
Archive
Note: This topic has been unedited for 4934 days. It is considered archived - the discussion is over. Information in this thread may be out of date. Do not add to unless it really needs a response.


I wonder if there is a way to change the searchbox in my wiki to white for example, because it looks awfull the way it is now. Dosadnik 1 06:20, October 16, 2010 (UTC)

Simply add this code to the MediaWiki:Wikia.css page on your wiki:
.WikiaSearch input[type="text"] { 
  background-color: #ffffff;
  background-image: -moz-linear-gradient(top, #e1e1e1 0%, #ffffff 40%); 
  background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(0%, #e1e1e1), color-stop(40%, #ffffff)); 
  border: 1px solid #e1e1e1; 
  color: #191919;
}
You can adjust those values, those are just ones that I chose off the top of my head. SAMSONIUS 06:32, October 16, 2010 (UTC)