This is no such info in the MediaWiki:Common.css page and I don't understand HTML well enough to really tell where the Infobox class is but I know where I found this formatting I wanted was a Wikia site and the infobox's code includes
|class="color1" colspan="2" style="text-align: center; padding:1em; font-size:120%" |{{{Box title|{{PAGENAMEF}}}}} I think color1 is what I need. Any ideas of how to get this colouring option?
On 6/02/2015 7:38 AM, Brion Vibber wrote:
Most probably the template sets the color via a CSS class, that on the wiki you got the template from lives in the 'MediaWiki:Common.css' page (you must be logged in as sysop to edit this magic page, which sets additional CSS style rules for your wiki).
If you can't find the relevant styles where you got the template, try checking the HTML of the table for class names (you can use the developer tools in your browser for this, in most browsers you can right-click on something and select 'Inspect' or similar from the popup menu to open that up). Once you have the class name you can write your own CSS styles to set the blue background etc.
-- brion
On Thu, Feb 5, 2015 at 12:20 PM, Brenton Horne brentonhorne77@gmail.com wrote:
Hi,
Currently my Windows 7 installation of MediaWiki creates infoboxes that look like http://imgur.com/g2Tlh4f when I'd like it look more like http://imgur.com/s0UHES4. I'd especially like the blue title background. How do I do this?
Thanks for your time, Brenton
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l