Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    That should be possible with some “Custom CSS” (to be entered on the “Plugin Options” screen of TablePress) like

    .tablepress-id-123 th,
    .tablepress-id-123 td {
      text-align: center;
      vertical-align: middle;
    }

    (where 123 needs to be changed to the desired table ID).

    Regards,
    Tobias

    how to centre all date in the middle (both vertical and horizontal.

    For all tables.

    Any CSS Code for that ?

    ok got it, following CSS
    worked

    .tablepress th,
    .tablepress td {
    text-align: center;
    vertical-align: middle;
    }

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.
    Yes, that’s the correct code. Good to hear that you already found this!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Centering data in the middle of columns’ is closed to new replies.