Edit style via conditional on template