• Resolved totallytech

    (@totallytech)


    Hey,

    Loving this plugin! Thanks!

    I’m having a small CSS issue. I’m trying to add a 5px gap between the row with my headings in and the 2nd row.

    I’ve added this:

    .tablepress tbody tr.row-2 td {
    margin-top: 5px!important;
    }

    I’ve tried padding-top and margin-top but nothing makes a difference 🙁

    Can you point me in the right direction please?
    You will see the red bar with FLAT ROOFING in it – I need white space between that and the line Mastic Asphalt Roofing.

    My site

    https://wordpress.org/plugins/tablepress/

Viewing 1 replies (of 1 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    You are very close. margin won’t work here, but padding should.
    Alternatively, you could add a border to the header row:

    .tablepress-id-1 thead th {
      border-bottom: 5px solid #ffffff;
    }

    Regards,
    Tobias

Viewing 1 replies (of 1 total)

The topic ‘Extra Space after the header row?’ is closed to new replies.