Archived topic
How can I add a color to the top section of the table
1 reply · Started by steven on March 27, 2022
Viewing posts 1–2 of 2
Hi, How can I add a color to the header section of the table ?
Thanks you
Hi therem
you can use some CSS to change all Block Tables:
.wp-block-table thead tr {
background-color: #f00;
color: #fff;
}
If you want it to ONLY affect specific styles then select the table and in Advanced > Additional CSS Class(es) add a custom class eg. table-style-red
Then use this CSS:
.table-style-red.wp-block-table thead tr {
background-color: #f00;
color: #fff;
}
This archived topic is closed to new replies.