Center box text in template