Title: Formatting table description?
Last modified: June 21, 2017

---

# Formatting table description?

 *  Resolved [jtj3](https://wordpress.org/support/users/jtj3/)
 * (@jtj3)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/formatting-table-description/)
 * I’ve done some searching in the doc and in the help forum, but I haven’t found
   anything that helps. I incorporated a table into a blog post I wrote ([http://travelstoriesandimages.com/tarangire-national-park/](http://travelstoriesandimages.com/tarangire-national-park/)).
   I wanted to show the table description, but also have it centered above the table.
   I selected the option “show table description above the table”, and the text 
   shows up…but it’s left justified.
 * I found a thread that recommended putting the following code in the frontend 
   CSS options:
 *     ```
       .tablepress thead th,
       .tablepress tbody td {
       	text-align: center;
       	vertical-align: middle;
       }
   
       .tablepress tbody td img {
       	float: none;
       }
       ```
   
 * I added this by going into TablePress –> Plugin Options and added it under Custom
   CSS. However, this didn’t make any difference.
 * How can I center the text like I want?

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/formatting-table-description/#post-9248594)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * The CSS that you found there only applies to the table cell, not the description.
 * To center the description, please try
 *     ```
       .tablepress-table-description {
           text-align: center;    
       }
       ```
   
 * Regards,
    Tobias
 *  Thread Starter [jtj3](https://wordpress.org/support/users/jtj3/)
 * (@jtj3)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/formatting-table-description/#post-9248682)
 * Hi Tobias – thank you for the very quick reply. I tried the CSS you gave me above,
   and it worked. I appreciate it!!!
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/formatting-table-description/#post-9248689)
 * Hi,
 * no problem, you are very welcome! 🙂 Good to hear that this helped!
 * Best wishes,
    Tobias
 * P.S.: In case you haven’t, please [rate TablePress](https://wordpress.org/support/plugin/tablepress/reviews/)
   here in the plugin directory. Thanks!

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

The topic ‘Formatting table description?’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/formatting-table-description/#post-9248689)
 * Status: resolved