• Resolved w d

    (@adminnaturuscom)


    Hi Tobias.
    I am sure this has been answered, but none of the answers are working for me. I can’t gt code placed in the Custom Code box to over-ride some of the default settings.

    For e.g. I can’t change the header background color and text color, even when I use this code:

    .tablepress-id-11 thead th {
    color: #ffffff;
    }
    I can find a workaround by using .tablepress .row1 {
    background-color: #ff000;
    }
    But even with that fomrulation I can’t change the font attributes.

    Here’s the code from the Custom CSS box:

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

    .tablepress-id-4
    .tablepress-id-4 thead th
    .tablepress-id-4 tr,
    .tablepress-id-4 tbody td,
    .tablepress-id-4 tfoot th {
    color: #000000;
    border: 1px solid blue;
    }

    .tablepress-id-4
    thead th {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    }

    .tablepress-id-4 thead th {
    color: #ffffff;
    }

    .tablepress-id-4 .row-1 {
    font-size: 24px;
    font-weight: bold;
    }

    .tablepress-id-4 table {
    border: 1px solid black;
    }

    And here’s a link to the page where it is displayed.

    http://members.naturus.com/test-table-styles/

    Great plug in. Many thanks for creating it.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter w d

    (@adminnaturuscom)

    Solved it.

    Added the !important flag to the font attributes. Works a treat.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    great! Good to hear that you already found the solution to this!
    Most likely, your theme was using a high priority for its font changes, which made that !important necessary.

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Header text color’ is closed to new replies.