Check for valid footer before applying style change.