Site logo

Archived topic

Empty row at the bottom of tables

3 replies · Started by Héctor on August 7, 2021

Viewing posts 1–4 of 4

Hi,

I've added this CSS to customize the tables on my site and now there's something that looks like an empty row with no border at the bottom of them.

.wp-block-table {
    font-size: 15px;
		background-color: #cfd4e5;
		width: 92%;
		margin-left: 4%;
		margin-right:4%;
}
table, th, td {
    border: 1px solid #0d1129;
}

Here's an example.

Hi there,

remove the background-color property from your CSS then add this for the background:

.wp-block-table tbody {
    background-color: #cfd4e5;
}

Resolved.

Thanks again David! :)

Glad to be of help

This archived topic is closed to new replies.