add style to template