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 ?
Well that’s not going over too well lol. I tried writing that function ( I always get mixed up about the names of php [statements/expressions/functions]) outside the div, inside the class=”” itself and lots of different ways, I could never get it to work. I think I was doing it wrong, but not sure?