Forum:Central wiki logo

OK, I don't mean this Wiki as the name but I mean if it's possible to for a Wiki logo which is not as big as the reccomended size (like here) to be algined to the center of the place it can be in using .css code? The Ferry Wiki's logo will look sort of messed up when the new navigation goes site-wide. Can you help me? Good luck! Gourleyo|Talk|Contributions 09:08, November 13, 2011 (UTC)


 * This added to your MediaWiki:Wikia.css should center the wordmark

 .wordmark.medium.graphic { text-align: center; }
 * — Sovq 09:33, November 13, 2011 (UTC)

Yes, that's a start. Is it also possible to center it downwards too? Good luck! Gourleyo|Talk|Contributions 10:17, November 13, 2011 (UTC)


 * Replace the above with

 .wordmark.medium.graphic { margin-bottom: 0; padding-top: 10px; text-align: center; }
 * — Sovq 10:58, November 13, 2011 (UTC)

The logo now looks good but when editing it is moved down by 10px too, leaving a 10px black bar. Is there any code to fix this?


 * Well, the block which holds the wordmark isn't aligned with the navigation menu, so I had to use a rather 'dirty' method of centering it. As a result this happened. Using

 margin-bottom: 0; padding-top: 10px; text-align: center; }
 * 1) WikiHeader > .wordmark.medium.graphic {
 * should fix it. However, since using that king of 'dirty' workaround can result in bugs in the future I would advise you consider using the uppermost, simplest code and ignoring the vertical-alignment issue. — Sovq 12:08, November 13, 2011 (UTC)

Yes, it works without any trouble. Thank you Sovq for sorting it out for the new navigation launch! Good luck! Gourleyo|Talk|Contributions 12:17, November 13, 2011 (UTC)