User blog comment:BertH/The Road to VisualEditor/@comment-5076341-20131126182855/@comment-14779707-20131127015414

You can do that by adding this to the MediaWiki:Wikia.css or the MediaWiki:Monobook.css on your wikia.

h2 {text-align:center}