Admin Forum:Infobox causes gap on article & Reflist font size

Forums: Admin Central Index → Technical Help → Infobox causes gap on article & Reflist font size Wikia's forums are a place for the community to help other members. To contact staff directly or to report bugs, please use Special:Contact.

Hello, I have two questions I've been puzzling over for a few days.

I recently updated the Character infobox on my wikia with a simpler code, but it apparently causes a gap at the top of the page above the headquote and below the infobox itself, like so:

Example here.

I also tried to change the size of the font for the reflist, but no matter what I do, it appears to be the same size as the article's text. I used the directions here to change it, but the change never seemed to happen no matter how many times I refreshed my cache.

Example at same page here.

I am using Windows Vista and Chrome. The results are the same in Firefox.

Thank you very much in advance!

--Steel (talk) 13:57, May 2, 2012 (UTC)


 * There was an excess line break in the template causing an additional paragraph to be added. It should work fine now. As for the references style - the code you added was OK, but you added it to the wrong style sheet. You should add it to MediaWiki:Wikia.css if you want it to affect the Wikia/Oasis skin. Common.css doesn't affect it. — Sovq 14:32, May 2, 2012 (UTC)


 * Oh, gosh, I should have noticed that linebreak. And I see! I fixed it and placed it on the other page and it works perfectly now. Thank you very much for the help!
 * --Steel (talk) 15:08, May 2, 2012 (UTC)


 * If you want the code to affect both skins, you can add it to MediaWiki:Common.css and add the following line to Wikia.css:
 * 14:59, May 2, 2012 (UTC)
 * 14:59, May 2, 2012 (UTC)


 * Thank you, I'll try that as well!
 * --Steel (talk) 15:08, May 2, 2012 (UTC)

I have one last query, on the references again. Is it possible to justify the text? If so, where do I input the code? Thanks!

--Steel Talk 11:03, May 3, 2012 (UTC)


 * Adding  to the previously defined style rule should do the job. Replace:

 .references-small { font-size: 85%;}
 * with

 .references-small { font-size: 85%; text-align: justify;}
 * in the style sheet for the skin you want to alter (MediaWiki:Wikia.css for Oasis, MediaWiki:Common.css or MediaWiki:Monobook.css for Monobook). — Sovq 12:57, May 3, 2012 (UTC)


 * Sweet, thanks muchly! --Steel Talk 16:26, May 3, 2012 (UTC)