Title: Table code not working
Last modified: August 21, 2016

---

# Table code not working

 *  Resolved [staceyk](https://wordpress.org/support/users/staceyk/)
 * (@staceyk)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/table-code-not-working/)
 * For some reason when I added the 1st row, I have been unable to get Gracie’s 
   name to center. It used to be centered. I am using the code below. Suggetions?
 * [http://www.houndsofgrace.org/adoptable-hounds/](http://www.houndsofgrace.org/adoptable-hounds/)
 * .tablepress-id-55 .row-1 .column-1 .hilite {
    font-size: 42px; text-align: center;
   color: #ff0000; }
 * .tablepress-id-55 .row-2 .column-1 .hilite {
    font-size: 32px; text-align: center;
   color: #ff0000; }
 * [https://wordpress.org/plugins/tablepress/](https://wordpress.org/plugins/tablepress/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/table-code-not-working/#post-4808669)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * That’s because centering needs to be done for the actual cell and not for the`
   <span>` element in it. For the first row, you are actually already doing that.
   
   So, you could actually change your code to
 *     ```
       .tablepress-id-55 .row-1 .column-1 .hilite {
         font-size: 42px;
         color: #ff0000;
       }
   
       .tablepress-id-55 .row-2 .column-1 .hilite {
         font-size: 32px;
         color: #ff0000;
       }
   
       .tablepress-id-55 .row-2 .column-1 {
         text-align: center;
       }
       ```
   
 * Regards,
    Tobias

Viewing 1 replies (of 1 total)

The topic ‘Table code not working’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/table-code-not-working/#post-4808669)
 * Status: resolved