add style into template