How to edit classes in body tag?

try this

//*** make Services full col ***/
add_filter( 'body_class', 'custom_post_full_width', 999, 2 );
function custom_post_full_width( $wp_classes, $class ) {
    if ( is_post_type_archive('services') OR is_singular('services') ) {

        // List of the only WP generated classes that are not allowed
        $blacklist = array('two-col-right', 'two-col-right-1080');

        // Blacklist result
        $wp_classes = array_diff( $wp_classes, $blacklist );

        // Extra classes to add
        $wp_classes = array_merge( $wp_classes, array('one-col','one-col-1080') );

    }

    // Add the extra classes back untouched
    return $wp_classes;
}
  1. use is_post_type_archive( $post_type )