Add a custom class for each region that has content