Add class to diptych according to style field.