Title: Cell formatting
Last modified: August 21, 2016

---

# Cell formatting

 *  Resolved [WPPaton](https://wordpress.org/support/users/wordpress-paton/)
 * (@wordpress-paton)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/cell-formatting/)
 * Wondering how I can simply center all text in a table. I Thought that might be
   an option with the plugin but I can’t seem to find anything. Thanks!
 * [http://wordpress.org/plugins/tablepress/](http://wordpress.org/plugins/tablepress/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/cell-formatting/#post-4094254)
 * Hi,
 * thanks for your question.
 * This is possible with some “Custom CSS” code. Please try adding this to the “
   Custom CSS” textarea on the “Plugin Options” screen of TablePress:
 *     ```
       .tablepress-id-123 th,
       .tablepress-id-123 td {
         text-align: center;
       }
       ```
   
 * The 123 has to be changed to the desired table ID.
 * Regards,
    Tobias
 *  Thread Starter [WPPaton](https://wordpress.org/support/users/wordpress-paton/)
 * (@wordpress-paton)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/cell-formatting/#post-4094259)
 * Excellent thanks so while I am on the same topic can you tell me what the custom
   CSS would be to apply to the following: row, column or cell? Thanks so much for
   your support!
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/cell-formatting/#post-4094267)
 * Hi,
 * good to hear that this helps!
 * For more examples, I suggest to take a look at the TablePress FAQ at [http://tablepress.org/faq/](http://tablepress.org/faq/)
   
   For example, the question “How can I highlight certain cells or their content?”
   has an example on how to target a specific cell. From there, it’s easy to target
   a specific column or row, as you’ll just have to remove the “unwanted” part from
   that CSS selector. The other questions also show how to target a row, for example.
 * Regards,
    Tobias
 *  Thread Starter [WPPaton](https://wordpress.org/support/users/wordpress-paton/)
 * (@wordpress-paton)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/cell-formatting/#post-4094284)
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/cell-formatting/#post-4094289)
 * Hi,
 * not sure what happened, but your recent reply came up empty…
    Was that information
   on the CSS helpful, or is your question still open?
 * Regards,
    Tobias
 *  Thread Starter [WPPaton](https://wordpress.org/support/users/wordpress-paton/)
 * (@wordpress-paton)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/cell-formatting/#post-4094291)
 * Tobias no I am all good thanks and the topic is closed.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/cell-formatting/#post-4094293)
 * Hi,
 * alright, thanks for the clarification!
 * Best wishes,
    Tobias
 * P.S.: In case you haven’t, please [rate TablePress](http://wordpress.org/support/view/plugin-reviews/tablepress)
   here in the plugin directory. Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Cell formatting’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

## Tags

 * [formatting](https://wordpress.org/support/topic-tag/formatting/)

 * 7 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/cell-formatting/#post-4094293)
 * Status: resolved