Forum:VAR tags and the Wikia skin

I just noticed that when I use the   tags, the content does not appear italicized with the Wikia skin as it does with the Monobook skin. Is there a little bit of coding I can add to MediaWiki:Wikia.css that can fix this?

To see what I mean, note the following text rendered with :"This is a test."You will note, if you are using the Wikia skin, that the text is not italicized. Compare the following:


 * http://community.wikia.com/wiki/Forum:VAR_tags_and_the_Wikia_skin?useskin=monobook
 * http://community.wikia.com/wiki/Forum:VAR_tags_and_the_Wikia_skin?useskin=oasis

When we had a similar problem with hatnotes, we added the following code to Common.css:

/* Hatnotes and disambiguation notices */ .rellink, .dablink { font-style: italic; padding-left: 2em; margin-bottom: 0.5em; } .rellink i, .dablink i { font-style: normal; }

It worked because it defined the  and   classes for the templates using them. But, this is a bit different since it is not really about CSS classes, is it?

So, is there something similar I could use for fixing the way text inside   tags appears with the Wikia skin? (Fingers crossed!) Thanks! — Spike Toronto  07:45, May 29, 2011 (UTC)


 * Yes:

var { font-style: italic; }
 * Should work - Tjcool007 (Talk) 07:56, May 29, 2011 (UTC)

You are brilliant! I just added the following to our local Wikia.css file and it worked terrifically:

/* Fix tags in Wikia skin */ var { font-style: italic; }

Thanks enormously! Of course, it still doesn’t work here at Community Central. :) — Spike Toronto  08:05, May 29, 2011 (UTC)