• Resolved endiaggli

    (@endiaggli)


    Hi there

    I am using your awesome plugin Table Press 🙂 I’ve created a table on a page that I can’t display, yet. But my goal is to display a table that has no outlines, i.e. no line above the first row/below the last row and no line to the left/right, either.
    A good example would be this table here (except that this one has a line on the very bottom): https://cavegn-immobilien.ch/portfolio_page/hof-oberwil/

    I am using this code – what am I missing?

    .tablepress thead th,
    .tablepress tbody td {
    border: 1px solid #000000

    ;
    text-align: center;
    }

    .tablepress td:first-child,
    .tablepress th:first-child {
    border-left: none;
    }

    .tablepress td:last-child,
    .tablepress th:last-child {
    border-right: none;

    weißes_häkchen
    eyes
    erhobene_hände::hautton-4

    Neu

    Joëlle14:46 Uhr

    .tablepress-id-1 tbody td {
    font-family: Montserrat;
    font-size: 18px;
    font-weight: 500;
    color: #000000

    ;
    }

    Thanks for your help!

    Best

    Andi

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Just to be sure that I understand correctly: You only want the inner table border (vertical and horizontal borders between cells), but you do now want the outer border “around” the table?

    For that, this “Custom CSS” should work:

    .tablepress thead th,
    .tablepress tbody td {
      border: 1px solid #000000;
      text-align: center;
    }
    
    .tablepress tr td:first-child,
    .tablepress tr th:first-child {
      border-left: none;
    }
    .tablepress tr td:first-child,
    .tablepress tr th:first-child {
      border-right: none;
    }
    .tablepress tr:first-child td,
    .tablepress tr:first-child th {
      border-top: none;
    }
    .tablepress tr:last-child td,
    .tablepress tr:last-child th {
      border-bottom: none;
    }

    If not, it’s possible that your site’s theme also influences the border. In that case, I would need to see the actual page with the table.

    Regards,
    Tobias

Viewing 1 replies (of 1 total)

The topic ‘Remove outlines only’ is closed to new replies.