Admin Forum:Infobox causes gap on article & Reflist font size
Talk0this wiki
This Forum has been archived
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:
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.
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)
- 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:
@import "/index.php?title=MediaWiki:Common.css&action=raw&ctype=text/css";- TK999 14:59, 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
text-align: justify;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)