Forum:Customizing the poll

How do you get rid of the dotted border that appears around polls, and how do you change the color of the votes bars? Civil Plan 20:10, June 12, 2011 (UTC)

Not sure how to get rid of the border but this will change the colors: /*Poll background colour to make it readable with current skin*/ .pollAnswerVotes div { background:none repeat scroll 0 0 #8B0000 !important; } --


 * Try:

 /*Poll bar background color set to dark red with no border */ .pollAnswerVotes div { background:none repeat scroll 0 0 #8B0000 !important; }

.WikiaPollEmbedded { border-width:0px !important; }
 * -- Fandyllic (talk &middot; contr) 12 Jun 2011 6:31 PM Pacific


 * (edit conflict) To get rid of the dotted border, add  to MediaWiki:Wikia.css (and MediaWiki:Common.css for Monobook if you want) on your wiki.  The 888th Avatar   (talk)  01:34, June 13, 2011 (UTC)


 * And Fandyllic, I've just tested ... I'm afraid it doesn't work.  The 888th Avatar   (talk)  01:37, June 13, 2011 (UTC)


 * I must have been looking at a different type of poll. Oh well. If  works, that's great. -- Fandyllic  (talk &middot; contr) 12 Jun 2011 10:57 PM Pacific

We use the following in our MediaWiki:Common.css, which you may find useful:

Of course, you can change the border color —   — to whatever color you want it to be. Similarly, you can change the answers color —   — to also be whatever color you want it to be. — Spike Toronto  2:15AM EDT, June 13, 2011


 * MediaWiki:Common.css changes only apply to Monobook skin. FYI. -- Fandyllic (talk &middot; contr) 13 Jun 2011 12:54 PM Pacific


 * Thanks for that comment! Fandyllic is, of course correct, but there is a work-around that (I believe) Monchoman45 passed on to us some time back. Many wikis at Wikia these days add the following line towards the top of their MediaWiki:Wikia.css files:" "What this does is ensure that changes to MediaWiki:Common.css also get applied to the Wikia (i.e., Oasis) skin. Of course, changes specific to only one skin should not be added to MediaWiki:Common.css, but rather should be added to the ".css" file appropriate to the skin in question (i.e., MediaWiki:Wikia.css or MediaWiki:Monobook.css) Thanks! — Spike Toronto  4:09PM EDT, June 13, 2011


 * Wikia should have made this "workaround" part of the default Starter wiki, but they seem to want to break several of the built-in MediaWiki paradigms. Sigh... -- Fandyllic (talk &middot; contr) 13 Jun 2011 1:33 PM Pacific


 * Agreed! — Spike Toronto  4:39PM EDT, June 13, 2011