• Resolved adminjaponism

    (@adminjaponism)


    Hi I created a simple table with 1 column, 2 rows. I want to have border everywhere, the heading text to be centered.

    With the below code, the border is missing and I don’t know how to center the title.
    Thanks for helping me!!

    .tablepress thead th,
    .tablepress tfoot th {
    background-color: #FFFFFF;
    }

    .tablepress-id-1 thead th {
    font-family: Tahoma;
    font-size: 20px;
    color: #E34CBB;
    }

    .tablepress td {
    border: 1px solid #777777 !important;
    }

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

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    Please try

    .tablepress thead th,
    .tablepress tfoot th {
      background-color: #FFFFFF;
      border: 1px solid #777777 !important;
    }
    
    .tablepress-id-1 thead th {
      font-family: Tahoma;
      font-size: 20px;
      color: #E34CBB;
      text-align: center;
    }

    Regards,
    Tobias

    Thread Starter adminjaponism

    (@adminjaponism)

    Oh thanks for your prompt answer!
    It all worked out!!
    Thank you Tobias!

    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 ‘Table border and heading text centering’ is closed to new replies.