Hi,
sure! Let’s assume that you have five tables in total, and for three of them (e.g. the tables with the IDs 1, 3, and 4), you want to change the font-size.
Then, you could either use the long “Custom CSS”
.tablepress-id-1 th,
.tablepress-id-1 td,
.tablepress-id-3 th,
.tablepress-id-3 td,
.tablepress-id-4 th,
.tablepress-id-4 td {
font-size: 15px;
}
or you could “invent” an “Extra CSS class”, e.g. “tablepress-my-custom-font-size”.
Then, you would add that into the “Extra CSS classes” textfield of the three tables 1, 3, and 4, and you could then use the shorter “Custom CSS” code
.tablepress-my-custom-font-size th,
.tablepress-my-custom-font-size td {
font-size: 15px;
}
Now imagine that you add a sixth table that should also get this modified font size. Instead of having to adjust the “Custom CSS” (which would be necessary with the first block of CSS from above), you’ll only have to add “tablepress-my-custom-font-size” as an “Extra CSS class” for table 6.
Regards,
Tobias