gutenberg icon indicating copy to clipboard operation
gutenberg copied to clipboard

Table Block: Add background colors to individual cells, rows, or columns

Open melchoyce opened this issue 7 years ago • 6 comments

Often, I'll want to add a background color to help distinguish a table header, or to highlight particular information, or offset a column from the rest of the table. Currently, adding a background color changes the entire table. I'd like to be able to add background colors to individual cells, rows, or columns.

melchoyce avatar Nov 26 '19 19:11 melchoyce

Maybe we can offer this option in the Color Settings for the Table block. And if the user toggles "on" the Footer section we can also show a Footer background color option too.

Table colors

mapk avatar Dec 26 '19 23:12 mapk

This issue was discussed in today's Design meeting. Mark U's proposal for coloring the Header/Footer based on if the Header / Footer section is enabled is a good first solution.

The original request also requested the ability to color discreet columns / rows / cells. It was agreed this would be a valuable addition, but needs mockup proposals for implementation.

MDWolinski avatar Jan 07 '20 18:01 MDWolinski

New?

youssefelmourabit avatar Apr 04 '20 01:04 youssefelmourabit

Has this been moved forward?

stevebab avatar Mar 17 '21 17:03 stevebab

Hey, any news on this issue? :)

TenZdenda avatar Aug 02 '22 10:08 TenZdenda

Thanks for the request, @melchoyce, and to everyone who chimed in! Per-cell styling, including background colors, is now part of the Table block inner-blocks work tracked in #82587, with row/column styles listed there as a follow-up. Closing this in favor of that issue so the discussion stays in one place; please follow along and add feedback there.

youknowriad avatar Oct 15 '26 13:10 youknowriad