Board Thread:Support Requests - Designing Your Wiki/@comment-4347751-20130719121512/@comment-1330470-20130719160122

Original Authority wrote: Thisismyrofl wrote: I don't really see the issue with the second template. I see it display as this: http://i.imgur.com/EQdpbgu.pngAnything wrong with that? It has a box on the background, the color of the pre box above it should look simmilar to this one it has a transparent background. This happened as soon as I added a class instead of inline coding it.

Okay.

The reason for this background is that while  is something that you totally made up, and is only modified by the Wikia.css file you wrote,   is a very common class that, in addition to rules in wikia.css, actually has rules in the master oasis.scss file that defines the Wikia skin. oasis.scss is not editable by the end user except for certain color changes via ThemeDesigner. You can only overrule the existing rules.

To avoid having to overrule Wikia's messy, uneditable CSS, check out c:fallout:Mediawiki:Common.css. Rather than using  and forcibly overruling, they use the custom   (named for "The Vault", original name of the wiki) which has no such problematic rules. Then they are free to do whatever they wish without interference.

Perhaps you should do similar: think of a similar class name ("boc-infobox"?) and use that instead.