amended templates to make font prefix dynamic