• Resolved tara253

    (@tara253)


    Hi there
    Please can you help? I have added the following code to the custom CSS, but only one of the commands has worked (the hover colour). The table header has not changed colour. When the page loads, I briefly see the header row in the correct colour, but then when the page loads fully the header row is grey. Cannot find anything on this issue and how to resolve it.
    Thanks
    Tara

    This is the code I added to the custom CSS of the plugin:
    .tablepress .row-hover tr:hover td {
    background-color: #E9E49D;
    }

    .tablepress thead th,
    .tablepress tfoot th {
    background-color: #617129;
    }

    • This topic was modified 5 years, 7 months ago by tara253. Reason: Forgot to include the CSS code

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

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

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    Due to some CSS in your theme, we’ll have to raise the priority of your command, using the !important flag:

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

    Can you please try again with that code?

    Regards,
    Tobias

Viewing 1 replies (of 1 total)
  • The topic ‘Can’t change table header row colour’ is closed to new replies.