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
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.