Try to add the following PHP code snippet to the child theme functions.php file
function woodmart_get_html_block($id) {
$post = get_post( $id );
if ( ! $post || $post->post_type != 'cms_block' ) return;
$content = do_shortcode( wpautop( $post->post_content ) );
$shortcodes_custom_css = get_post_meta( $id, '_wpb_shortcodes_custom_css', true );
$woodmart_shortcodes_custom_css = get_post_meta( $id, 'woodmart_shortcodes_custom_css', true );
$content .= '<style type="text/css" data-type="vc_shortcodes-custom-css">';
if ( ! empty( $shortcodes_custom_css ) ) {
$content .= $shortcodes_custom_css;
}
if ( ! empty( $woodmart_shortcodes_custom_css ) ) {
$content .= $woodmart_shortcodes_custom_css;
}
$content .= '</style>';
return $content;
}