A html/css cleanup is planned for next year, hopefully for 1.4.7: https://github.com/zenphoto/zenphoto/issues/191
Yes, that would include some more classes to address items more specifially. In this case just proper form element labels would help…
However, that's quite a major task and since we are volunteers you need to have the time for it which is quite an issue. Since it involves a lot backend functions and other stuff you sadly cannot just partly start but have to constantly work on it.
This seems to work:
$("td:contains('Custom data')").filter(function() {
return (
$(this).clone() //clone the element
.children() //select all the children
.remove() //remove all the children
.end() //again go back to selected element
.filter(":contains('Custom data')").length > 0)
})
as a selector. I'm sure it's a massively inefficient way to do it, though.
a|x