Forum:Transparent Backgrounds

So I know how to make the background behind text and actual content transparent, but is there a way to make it only transparent on certain pages like the main page only? Look at www.dungeondefenders.wikia.com as a reference. I want that, but only on the pages I tell mediawiki to do it on.

19:01,10/12/2011 19:01, October 12, 2011 (UTC)


 * The most common CSS method is to create a semi-transparent tile image and set it as the page background image. For example, Dragon Age wiki uses the following property in their MediaWiki:Wikia.css:

.WikiaPageBackground { background: url("http://images1.wikia.nocookie.net/__cb20101022055252/dragonage/images/e/e5/Gray24_80.png") repeat scroll 0 0 transparent !important; }


 * If you want it to only affect a specific page, then you would add the page title into the CSS. For example, the following code would affect only the main page of Dungeon Defender's Wiki:

.page-Dungeon_Defenders_Wiki .WikiaPageBackground { background: url("http://images1.wikia.nocookie.net/__cb20101022055252/dragonage/images/e/e5/Gray24_80.png") repeat scroll 0 0 transparent !important; }
 * --Gardimuer { ʈalk } 22:35, October 12, 2011 (UTC)