Hi,
Because the function dynamic_sidebar()
returns the ID number of the sidebar so when we echo this function, it will show the ID after. Please add this code to the file functions.php in the child theme folder to remove the ID of the sidebar.
add_filter( 'dynamic_sidebar_has_widgets', function( $did_one, $index ) {
$index = '';
return $index;
}, 99, 2 );