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?