Fandom

Community Central

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

19,021pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

This Forum has been archived

Forums: Admin Central Index Technical Help Infobox causes gap on article & Reflist font size
Central's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.
Note: This topic has been unedited for 1368 days. It is considered archived - the discussion is over. Do not add to unless it really needs a response.



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:
@import "/index.php?title=MediaWiki:Common.css&action=raw&ctype=text/css";
 TK999 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 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)
Sweet, thanks muchly! --Steel Talk 16:26, May 3, 2012 (UTC)

Also on Fandom

Random Wiki