Home › Forums › Backend Issues (wp-admin) › Message Field issue if next to Conditional Logic › Reply To: Message Field issue if next to Conditional Logic
I think I got the origin of the bug.
It came from CSS and the best way I found to solve is:
.hidden-by-conditional-logic + .acf-field {
clear: both;
}
It happens when a conditional logic hide/show 2 fields + 1 field.
Example:
CONDITION 1 shows FIELD A and FIELD B
CONDITION 2 shows FIELD C
Since the original CSS says:
.acf-field[data-width] + .acf-field[data-width] {
clear: none;
}
and
.acf-field[data-width] + .acf-field {
clear: both;
}
in the case FIELD C is hidden, there’s no field telling to the next one to clear:both.
I sign this topic as Solved and I’ll open a ticket.
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.