This page provides an example to make enforce user-defined styles persist for rows. For this example, let's consider Monthly Temperatures table for which you want to set styles of various rows, including the header row.
Select this macro
Macro name | Table Plus |
Macro syntax (Old editor) | {table-plus} |
Macro syntax (New editor - case insensitive) | /Table Plus |
Define these parameters/values
Row formatting > Data rows > Row Styles (1
2
3)background:lightgreyRow styles (Comma separated styles) | font-size:160%;padding:20px;border: 5px solid #c1c7d0, color:green;font-size: |
125%;padding-top:25px |
, background:lightblue; |
color:red;border: 2.5px dotted black |
, font-style:italic;font-size: |
175%;padding-left:35px |
Row formatting > Header & Footer rows > Header row styles
font-size: 1.5em; padding:20px; border: 5px solid #c1c7d0;
Screenshots
Example results
...
Apply row style to individual cell | On |
Parameters set in the macro editor
Example result
When the Apply row style to individual cell is off, certain styles for cell padding or borders are not applied due to the existing default Confluence styles as shown:
When the Apply Row styles to data row cells is row style to individual cell is toggled on, the table is displayed with all the specified styles are applied after overriding the default Confluence styles as shown: