'Woocommerce / Divi Checkout Validation Error wrapping red

i would love to have a red wrap and a red label of missing required informations in my checkout of woocommerce after the validation function worked.

for now i am using this code. i tried a lot of codes but none is doing what i am looking for. would be really happy about help.

Best regards :)

add_action( 'woocommerce_after_checkout_validation', 'quadlayers', 9999, 2);
function quadlayers( $fields, $errors ){
if( !empty( $errors->get_error_codes() ) ) {
foreach( $errors->get_error_codes() as $code ) {
$errors->remove( $code );
}
$errors->add( 'validation', 'Bitte füllen Sie alle markierten Felder aus.' );
}
}


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source