• Resolved robertwein

    (@robertwein)


    I’ve made a page of two tables, which works, but when I modify the options for a border to be around the first row, it’s not working!

    This is the code in the options for it – help?!?

    .tablepress-id-31,
    .tablepress-id-31 tr,
    .tablepress-id-31 tbody td,
    .tablepress-id-31 tbody th,
    .tablepress-id-31 th {
    border-top: solid 2px black;
    border-left: solid 2px black;
    border-right: solid 2px black;
    border-bottom: solid 2px black;
    }

    .tablepress-id-31 .row-1 {
    border-top: solid 2px black;
    border-left: solid 2px black;
    border-right: solid 2px black;
    border-bottom: solid 2px black;
    }

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

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    The problem here is that this table is inside another table (table 37), which is not a good idea, as tables should not be used for layout purposes.
    You could however try to add the !important flag, to override the influence of the CSS of table 37 for this table:

    .tablepress-id-31 .row-1 {
      border-top: solid 2px black !important;
      border-left: solid 2px black !important;
      border-right: solid 2px black !important;
      border-bottom: solid 2px black !important;
    }

    Regards,
    Tobias

    Thread Starter robertwein

    (@robertwein)

    I didn’t realize that, but what you’ve suggested works perfectly, thank you!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    great! Thanks for the confirmation!

    Best wishes,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Why is this not being actioned?’ is closed to new replies.