• Resolved praktikreni

    (@praktikreni)


    Hello,

    In my table I have horizontal lines which are the basic ones. I want to keep them but I also want to add vertical lines to separate the columns. Do you have a solution? A CSS code?

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

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    For this, you could add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    .tablepress th,
    .tablepress td {
      border: 1px solid #cccccc;
    }

    Regards,
    Tobias

    Thread Starter praktikreni

    (@praktikreni)

    Hi,

    Perfect thank you very much !

    Plugin Author Tobias B?thge

    (@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!

    Thread Starter praktikreni

    (@praktikreni)

    Hi again,

    I have another question. Do you have any idea how I can put the text of all cells in the middle. Not just center from left and right but also from top and bottom…?

    Thanks again !

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    for that, please try this:

    .tablepress tbody td {
      vertical-align: middle;
    }

    Regards,
    Tobias

    Thread Starter praktikreni

    (@praktikreni)

    Works perfectly fine! Thank you so much ??

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    sure, no problem! Always happy to help!

    Best wishes,
    Tobias

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Add vertical lines to my table’ is closed to new replies.