Hi,
we’ve confirmed the problem. addMarkedTimespan does not apply custom css class to blocking timespans, although it’s specified in docs. We’ll try to fix it in the nearest time.
Currently the only available solution is to apply custom css settings to basic class for blocking timespans.dhx_time_block{
background-color:red !important;
}