Forum:White background on page history making things unreadable

I had to take some time away from my Wikia recently and when I returned I've noticed a few annoying changes that I cant seem to put right. First and foremost is that when you compare the current version of a page to a past version it's almost unreadable. My Wikia has black backgrounds so this (image to right) is rather annoying.

Another, much smaller and possibly easier to fix problem is that all my templates (such as stub and cleanup) that had a border with curved edges have become rectangular. Any help on either problem would be great. Thanks in advance. -- Lyco499 (talk ) 01:31, July 13, 2012 (UTC)


 * For the background, put this in your Mediawiki:Wikia.css:


 * Replace with the colour you want to use. Could you link me to the templates that are having problems? 01:34, July 13, 2012 (UTC)


 * (edit conflict x2) It's really nice to have a link to the page in question rather than just an image. But, I still think I can tell you what the issue is. Your wiki was more than likely just updated to 1.19 and as such, some custom CSS is no longer overriding the defaults set by oasis.scss. You would have to (for now) add !important to the CSS for that background. I would suggest looking for code similar to what Matthew posted above and add an !important after the color listed (before the ;). Rappy 01:38, July 13, 2012 (UTC)
 * It works without !important, but do it just to be safe. ;) 01:41, July 13, 2012 (UTC)

Thanks for the replies guys, your help on the background issue worked perfectly :), here is a link to one of the templates http://shameless.wikia.com/wiki/Template:Stub they're all made from the same borrowed code.-- Lyco499 (talk ) 01:57, July 13, 2012 (UTC)


 * works only for Mozilla browsers. If you want to make it cross-browser compatible, you need to replace it with:

 border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;  -moz-border-radius:10px;-webkit-border-radius:10px;border-radius:10px;
 * -moz and -webkit attribute support old Mozilla and Webkit browsers.


 * @Matthew - personal CSS is not overwriting site CSS (which it should) in 1.19. I haven't verified the new load order for Wikia's CSS per site CSS (I imagine it's still the same as before though).


 * @Cafe - always place the standard at the end of the code block; not the beginning. You always want the last part of the code to be the standard in case some browsers can still show the old experimental code instead. Rappy 04:05, July 13, 2012 (UTC)


 * You're right. It's been a while that I didn't care about that, I will correct my own code also on this occasion.


 * Thanks all, the new code for the templates worked perfectly of course :) But rather randomly the first problem seems to have come back. Adding the above code to the the Wikia.css fixed it but today the background is white again. I've tried adding the code with and without the !important, I've tried  and black!important and black !important and all 3 without the !important but it just doesnt seem to be making a difference. It's so random.-- Lyco499 (talk ) 18:48, July 13, 2012 (UTC)


 * What you want is  Rappy 19:13, July 13, 2012 (UTC)