Home › Forums › Backend Issues (wp-admin) › Hide Div Filed › Reply To: Hide Div Filed
There is one section.
I have 2 different fields.
Only one of them appears in section at a time.
Each of the fields has a different design, in style css class.
filed1 with style class1
filed 2 with style class2
In the page code, an empty div is created with a Class of the unused field.
The styling of other field (which is different as stated) appears anyway (because we entered an empty DIV code with STYLE CSS.
How to remove the empty Div and Class?
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.