adjust style according to cms