The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › Back End › If a div has no content – add class for display:none ? › Re: If a div has no content – add class for display:none ?
I’m not the strongest with PHP, so my solution might not be EXACTLY what you need to write.