Home › Forums › Backend Issues (wp-admin) › Two subfields in collapsed view › Reply To: Two subfields in collapsed view
This is possible.
1) Set the first field you want to show using the setting. You must choose at least one field to make the collapse work.
2) In all other fields that you want to show add the class “-collapsed-target”
This will cause the fields to display in block/stacked, not on a single line. It is possible to add custom CSS to the admin to make these fields float and show on a single line.
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.