Add template css for elements