table head dark not working

3 replies·opened Jul 9, 2023
B
bagginsJul 9, 2023

Not able to make the table head dark to work. I am able to get the contextual classes to work for the rows.

<table class="table">
	<thead class="thead-dark">
			<tr>
				<th>#</th>
				<th>First Name</th>
				<th>Last Name</th>
				<th>Username</th>
			</tr>
		</thead>
		<tbody>
			<tr>
				<td>1</td>
				<td>Mark</td>
			       <td>Otto</td>
				td>@mdo</td>
		        </tr>
								
	</tbody>
</table>
S
SemiColonWebSTAFFJul 10, 2023

Hello,

Please consider following the Latest Documentation: https://getbootstrap.com/docs/5.3/content/tables/#table-head . You will need to add the .table-dark Class to the <thead> Tag.

This will definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

S
SemiColonWebSTAFFJul 11, 2023

Hello,

We will definitely try adding more info in the future updates. However, we do recommend referring to Bootstrap related documentations directly from the Source Website due to constantly changing info.

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard