Support

Account

Home Forums Backend Issues (wp-admin) How can I add a class to the radio button input? Reply To: How can I add a class to the radio button input?

  • You cannot add classes to the individual radio fields using ACF. You can target the button by the value.

    
    [data-key="field_5af32dbd01019"] input[value="gray"] {
      /* your css here */
    }
    

    the first part of the selector targets the entire radio group and the second part targets the button with the value of gray.