• Resolved marcostpic

    (@marcostpic)


    1ST QUESTION

    Example
    .tablepress .column-1,
    .tablepress .column-2,
    .tablepress .column-3,
    .tablepress .column-4 {
    text-align: center;
    }

    Is there any way to select ALL the columns without entering everytime
    “.tablepress .column-N”??

    2ND QUESTION
    How can I adjust the height of ALL the rows of ALL the tables??

    3RD QUESTION
    How can I put the text of a row in the center height (NOT width)??

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    1) Yes, for that, use

    .tablepress thead th,
    .tablepress tbody td {
      text-align: center;
    }

    2) That depends on where that height is coming from. Often, it’s the padding, so that you could add e.g.

    padding: 6px !important;
    

    in the CSS above.

    3) For that, you could use

    .tablepress-id-123 .row-3 td {
      vertical-align: middle;
    }

    Regards,
    Tobias

    Thread Starter marcostpic

    (@marcostpic)

    You’re a hero, thanks!!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Good to hear that this helped!

    Best wishes,
    Tobias

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Rows height, text height, and all columns selection in CSS’ is closed to new replies.