Support » Plugin: TablePress » row borders

  • Resolved franzgasser

    (@franzgasser)


    Hi Tobias,

    I would like to have a table not with borders around all cells, but only horizontal row borders (so no vertical borders). I tried to figure out a css code but I have no idea. Can you held me?

    Kind regards

    Franz

    The page I need help with: [log in to see the link]

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

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

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

    .tablepress-id-9 th,
    .tablepress-id-9 td {
        border: none;
    }
    .tablepress-id-9 tr {
        border: 1px solid #cccccc;
    }

    Regards,
    Tobias

    Thread Starter franzgasser

    (@franzgasser)

    hi Tobias,

    that’s fine, thank you very much! But I still have vertical borders on the left and on the right side of the table. Is it possilbe to remove them also?

    Kind regards

    Franz

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi Franz,

    ah, sorry about that. Please change the last block of CSS to

    .tablepress-id-9 tr {
        border-top: 1px solid #cccccc;
        border-bottom: 1px solid #cccccc;
    }

    Regards,
    Tobias

    Thread Starter franzgasser

    (@franzgasser)

    that’s great, thank you!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

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

    Best wishes,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘row borders’ is closed to new replies.