Gutenberg table block styling
-
I needed to color the background of certain rows in a table so I used the Code Editor and replaced <tr> with <tr style=”background-color:(#12345)”> to the table.
This worked very well and looks great. However in the Editor, there is an error message: This block contains unexpected or invalid content. Attempt block recovery just wipes out the background color.
Is it OK to leave it as it looks fine in the Front end.Have not yet done many sites with Gutenberg so still finding my way.
Thanks
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Gutenberg table block styling’ is closed to new replies.