I have created a radio button field with ACF so that admin can specify a colour. E.g:
- blue : Blue
- pink : Pink
I'd like this to be output as a class via <body <?php body_class(); ?>
in header.php. Is this possible?
I'm currently outputting the class in header.php like so:
<div id="page" class="site <?php the_field('package_colour',$post->ID); ?>">