Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    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

    (@wordpress-paton)

    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 TobiasBg

    (@tobiasbg)

    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/
    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

    (@wordpress-paton)

    Plugin Author TobiasBg

    (@tobiasbg)

    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

    (@wordpress-paton)

    Tobias no I am all good thanks and the topic is closed.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    alright, thanks for the clarification!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate 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.