Forums

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 ?

#92233
standuncan
Member

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?