I have been able to find information on adding classes to tables and other items in my pages, however, I cannot find any information on wrapping the entire table for example in a div through the preprocess function.
I added this for example:
function bootstrap_preprocess_views_view_table(&$vars) {
$vars['classes_array'][] = 'table table-striped';
}
My tables are stripped which is what I was after, however, I would like to wrap the entire table itself in <div class="table-responsive">{TABLE}</div>
, but am not finding where / how to add the class to show before the table?
Adding a picture of where it could be added: