Support

Account

Home Forums ACF PRO CSS code activation based on radio choice Reply To: CSS code activation based on radio choice

  • 
    $value = get_field('radio_field');
    if ($value == 'yes') {
      ?><style>/*CSS code yes*/</style><?php 
    }
    if ($value == 'no') {
      ?><style>/*CSS code no*/</style><?php 
    }