• Resolved shawn92

    (@shawn92)


    Hi Support team,

    I am trying to change the hover color for my table in Table press but it doesn’t seem to work.

    I have used this code to edit the color –

    .tablepress .row-hover tr:hover td {
    background-color: #ff0000;
    }
    However still doesn’t seem to change.

    Also, I am trying to edit the table colors. I want each alternating row to be a different color.

    I have tried using this code (Below) however, it still doesn’t seem to work.

    .tablepress .odd td {
    background-color: #ff0000;
    }
    .tablepress .even td {
    background-color: #00ff00;
    }
    Please let me know.

    Thank you

    Kind Regards,

    Shawn

    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.

    Most likely, the cause for this is that your theme is also adding CSS styling for tables, with conflicting CSS selectors. To overwrite that, please try using the !important flag after the color commands, like

    background-color: #ff0000 !important;
    

    Regards,
    Tobias

Viewing 1 replies (of 1 total)

The topic ‘Documentation CSS codes not working.’ is closed to new replies.