Home › Forums › Front-end Issues › CSS Styling based on value of field › Reply To: CSS Styling based on value of field
If you’re talking about stying the ACF field and the selections/labels based on the value and not anything to do with the front end theme, well, that’s not really something that can be build into ACF. You’re talking about styling each selection based on the value of that selection. The current ACF UI for these selection fields is a textarea where you enter value/label pairs. The UI would need to be completely altered to give you a way to enter each value separately with its associated label and any special css classes and id attributes for each value. That would be more than an minor change I think.
If you’re talking about on the front end, here you are on your own, but I would suggest going back up and reading @giovannicold’s reply.
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.