• eagleye

    (@eagleye)


    Hello Tobias,

    I made a table with 8 columns. I want to center the columns C through H and leave column A and B as they are. How can I do that?

    Joop.

Viewing 1 replies (of 1 total)
  • Hi,

    with this “Custom CSS”:

    .wp-table-reloaded-id-123 td, .wp-table-reloaded-id-123 th {
      text-align: center;
    }
    .wp-table-reloaded-id-123 .column-1, .wp-table-reloaded-id-123 .column-2 {
      text-align: left;
    }

    (adjust the ID 123 to your table, all 4 occurances).
    What the code does: It actually centers the text in all cells and then aligns the text to the left again for the first two columns.

    Best wishes,
    Tobias

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: WP-Table Reloaded] How to center multiple columns’ is closed to new replies.