add CSS class to parent div