Define content width according to template