Home Forums Front-end Issues ACF form labels are backwards Reply To: ACF form labels are backwards

  • also in other cases (a nested options list) the <label> element actually “wraps” the input — which is even worse because there’s no easy way to do a “parent” selector in pure CSS.

    ie; if I wanted to style the label of a checked input, it would not be possible to do in CSS when it was wrapping the input.

    labels should always come after an input in code, and move them around and style them with CSS