How to hide civiCRM event sections like event attachment, event committee, Event Contact, Event Filter Informations when they don't have data
You can try this css trick 

div:empty {
   display: none;
}


Or you can try using jQuery

$('div.section:empty').hide();