Title: How can I change the font, text size, and text color of a table?
Author: Tobias Bäthge
Published: December 2, 2012
Last modified: May 14, 2025

---

Back to: [Frequently Asked Questions](https://tablepress.org/faq/?output_format=md)•
[Documentation](https://tablepress.org/documentation/?output_format=md)

# How can I change the font, text size, and text color of a table?

This can be done with the some CSS code that needs to be added to the “Custom CSS”
textarea on the “Plugin Options” screen of TablePress:

    ```language-css
    .tablepress-id-N tbody td {
    	font-family: Tahoma;
    	font-size: 14px;
    	font-weight: bold;
    	color: #ff0000;
    }Code language: CSS (css)
    ```

The `N` needs to be changed to the ID of the table in question (or use `.tablepress`
as the first part of the selector to have this code apply to all TablePress tables
on the site). The values for `font-family`, `font-size`, `font-weight` and `color`
can of course be adjusted or removed, if they are not needed.

If you prefer a visual interface for changing colors, check out the [Default Style Customizer](https://tablepress.org/modules/default-style-customizer/)
feature that is part of the [TablePress premium license plans](https://tablepress.org/pricing/).