• Resolved samuelng527

    (@samuelng527)


    Hi,

    How can I remove top border on one of the row? example, i want to remove top border only for row 7.

    Please help, many thanks.

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

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

    (@tobiasbg)

    Hi!

    Thanks for your post and sorry for the trouble!

    This is a bit tricky, due to the way how you add the border lines to all cells in this table with the CSS code

    .tablepress-id-57 thead th,.tablepress-id-57 tbody td {
        border: 1px solid #b3b2b2!important
    }

    This means that you would have to remove the bottom border from different cells of row 6. You could try replacing that from above with

    .tablepress-id-57 thead th,
    .tablepress-id-57 tbody td {
        border-top: 1px solid #b3b2b2 !important;
        border-left: 1px solid #b3b2b2 !important;
        border-right: 1px solid #b3b2b2 !important;
    }

    After that, it should work to remove the top border of row 7 with

    .tablepress-id-57 .row-7 td {
        border-top: none !important;
    }

    Regards,
    Tobias

    Thread Starter samuelng527

    (@samuelng527)

    Hi @tobiasbg ,

    Thank you very much for your help. It’s work!

    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 in the plugin directory. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove Top Border on one of the row’ is closed to new replies.