Support » Plugin: TablePress » CSS FORMATTING QUESTION

  • Resolved dyates63

    (@dyates63)


    First off, many thanks to Tobias for developing a wonderful plugin with outstanding support. I’m having an issue with the appearance of my tables. Below is the custom code for my tables. All but one of my tables appear correctly. Here’s a link to one that appears correct:

    http://cfbalmanac.com/bcs-college-football-national-champions/

    Here is a link to the one that does not appear correctly. Notice that the color scheme is not the same as the first link:

    http://cfbalmanac.com/all-times-results-alabama-football/

    Thanks for any help that can be provided in resolving this issue.

    `.tablepress thead th,
    .tablepress tfoot th {
    font-family: Arial;
    font-size: 10px;
    }

    .tablepress tbody td {
    font-family: Arial;
    font-size: 10px;
    color: #000000;
    }

    .tablepress thead th,
    .tablepress tfoot th {
    background-color: #90c3d4 !important;
    }

    .tablepress thead th {
    color: #1f3fc1 !important;
    }

    .tablepress .odd td {
    background-color: #edf5f8;
    }

    .tablepress-id-17 .column-4 {
    display: none;
    }

    .tablepress-id-6 .column-4 {
    display: none;
    }

    .tablepress-id-1 .column-3 {
    display: none;
    }

    .tablepress-id-29 .column-7 {
    display: none;
    }

    .tablepress-id-29 .column-8 {
    display: none;
    }

    .tablepress-id-5 .column-3 {
    display: none;
    }

    .tablepress-id-13 .column-7 {
    display: none;
    }

    .tablepress-id-30 .column-4 {
    display: none;
    }

    .tablepress-id-31 .column-8 {
    display: none;
    }

    .tablepress-id-36 .column-10 {
    display: none;
    }

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

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    The cause for this is the use of #colspan# in the second row of that table. Due to this, the DataTables JS library experiences an error, which also affects the styling.

    As the DataTables JS library does not support colspan, you will either have to remove all #colspan# from the table, or uncheck the “Use DataTables” checkbox. Having both is not possible, unfortunately.

    Regards,
    Tobias

    Thanks a ton Tobias. Keep up the great work.

    Don

    resolved

    Plugin Author TobiasBg

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘CSS FORMATTING QUESTION’ is closed to new replies.