remove all ancestors that have this styling, not just the first