To contact staff directly or to report bugs, please use Special:Contact.
I feel really silly asking this, but how do you add a Background-Image to an Infobox? I feel like I've missed something obvious.
I spent a couple hours on the weekend designing (read: trying) a really nice Infobox in Photoshop, but now I can't get it into the Wiki. I'm trying to give the second black box the image:
http://vampirewars.wikia.com/wiki/Template:Infobox_Ability
http://vampirewars.wikia.com/wiki/File:Infobox_Image_Background.jpeg
http://vampirewars.wikia.com/wiki/MediaWiki:Common.css —This unsigned comment is by Adam weiler (wall • contribs). Please sign your comments by adding "~~~~" in the source editor.
- You'll have to use underscores instead of spaces in the url for
background-image
. Spaces are generally considered to be delimiters for urls. Monchoman45 Talk Contribs Skystone 14:45,3/6/2012
Okay I've fixed that mistake, but I'm not sure how to apply the class. This doesn't seem to provide the image:
<div class="InfoboxGradient" style="color:red;">hello world!</div>
-Adam weiler 19:26, March 10, 2012 (UTC)
- You placed the infobox style code in the MediaWiki:Common.css, but that won't affect the main Wikia skin unless you import it into the MediaWiki:Wikia.css on that wiki.
- I recommend that you add the following code to the top of MediaWiki:Wikia.css:
@import url("http://vampirewars.wikia.com/index.php?title=MediaWiki:Common.css&usemsgcache=yes&ctype=text/css&smaxage=86400&action=raw&maxage=86400");