Title: objects centric
Last modified: August 31, 2016

---

# objects centric

 *  Resolved [SocietyBlue](https://wordpress.org/support/users/societyblue/)
 * (@societyblue)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/objects-centric/)
 * Hi Tobias,
 * I have a “visual problem”. Numbers, words and pictures are not centric in the
   table. See here: copytrading.me/binaere-optionen
 * It looks all displaces – because it is 🙂 What can I do?
 * Thanks in advance
    Patrick
 * [https://wordpress.org/plugins/tablepress/](https://wordpress.org/plugins/tablepress/)

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/objects-centric/#post-6943036)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * That’s because you have chosen to right align images when inserting them. To 
   fix that, please remove the `alignright` from the `classes` attribute in the `
   <img` HTML tag.
 * To then also center the text in the table, please add this to the “Custom CSS”
   textarea on the “Plugin Options” screen of TablePress:
 *     ```
       .tablepress-id-3 th,
       .tablepress-id-3 td {
           text-align: center;
       }
       ```
   
 * Regards,
    Tobias
 *  Thread Starter [SocietyBlue](https://wordpress.org/support/users/societyblue/)
 * (@societyblue)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/objects-centric/#post-6943139)
 * Perfect,
 * next donation from me 🙂
 * Only one thing left: How can I center the text vertically ?
 * Thanks
    Patrick
 * P.S.: (auf Deutsch) Kann ich Dich auch wegen sonstigen Problemlösungen WordPress
   betreffend (nur spezielle Sachen, Grundkenntnisse habe ich) kontaktieren? – natürlich
   gegen Bezahlung. Ist mir wichtig, weil ich meine Websites optimal hinbekommen
   möchte.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/objects-centric/#post-6943176)
 * Hi Patrick,
 * good to hear that this helped! 🙂
    To also center the text vertically, please
   extend the code to
 *     ```
       .tablepress-id-3 thead th,
       .tablepress-id-3 tbody td {
           text-align: center;
           vertical-align: middle;
       }
       ```
   
 * Regards,
    Tobias
 * P.S.: Leider muss ich dich zu der Frage enttäuschen. Ich bin mit TablePress schon
   so ausgelastet, dass mehr Support einfach nicht möglich ist. Das Ganze ist ja
   auch “nur” ein Hobby, ich mache das ja nicht beruflich. Sorry.
 *  Thread Starter [SocietyBlue](https://wordpress.org/support/users/societyblue/)
 * (@societyblue)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/objects-centric/#post-6943209)
 * Hmm,
 * now something strange happened. I have 2 tables. id-1 and id-3.
 * I put the code in both “Custom CSS” textareas. But only 1 table works properly
   amd the other changes the code. Maybe I made a mistake in one table and now the
   other table it over.
 * It must be very simple but now I`m confused 🙂
 * Code fpr id-1
 * .tablepress thead th,
    .tablepress tfoot th { background-color: #F5F5F5; }
 * #main .tablepress-id-1 th,
    .tablepress-id-1 td { text-align: center; }
 * .tablepress-id-1 .column-2 {
    width: 100px !important; }
 * .tablepress-id-1 thead th,
    .tablepress-id-1 tbody td { text-align: center; vertical-
   align: middle; }
 * Table looks perfect. When I change the “1” into “3” in the css area for table
   3 then table 3 is correct, but table 1 changes to beginning.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/objects-centric/#post-6943221)
 * Hi,
 * there’s some slight misunderstanding here: There’s not a “Custom CSS” textarea
   for each table separately. There’s just one common “Custom CSS” textarea that
   holds the CSS for all tables. So, you will have to put the CSS for both tables
   into that textarea.
 * Regards,
    Tobias

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

The topic ‘objects centric’ 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

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

 * 5 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/objects-centric/#post-6943221)
 * Status: resolved