I have a virtual product which is showing music sample files for user to listen and then select from them. "https://myproductvideo.com/product/video-with-voice" It is the link of product. This is a wordpress website and i need to work with html as product description only takes html. In mobile view i showed music samples within a table in two rows. But viewing in mobile width of each row is large enough. I want to decrease the width of row to fit in mobile screen. I have tried everything but get nothing. Please see the code
<style>
.clsDes { visibility:visible; } .clsmob { visibility:collapse; } @media screen and (max-width: 768px) { .clsDes { visibility:collapse; } .clsmob { visibility:visible; } }
<div class="clsmob">
<table style="width:10px;">
<tbody>
<tr>
<th>Female Voice Samples</th>
</tr>
<tr>
<td>[playlist artists="false" images="false"
ids="810,811,812,813,814,815,816,817,818,819"]</td>
</tr>
<tr>
<th>Male Voice Samples</th>
</tr>
<tr>
<td>[playlist artists="false" images="false"
ids="821,822,823,824,825,191,192,193,194,195"]</td>
</tr>
</tbody>
</table>
</div>
<div class="clsDes" >
<table >
<col width="50">
<col width="50">
<tr>
<th>Female Voice Samples</th>
<th>Male Voice Samples</th>
</tr>
<tr>
<td >[playlist artists="false" images="false"
ids="810,811,812,813,814,815,816,817,818,819"]</td>
<td >[playlist artists="false" images="false"
ids="821,822,823,824,825,191,192,193,194,195"]</td>
</tr>
</table>
</div>