template updates to work with new css