• Resolved brabuhr

    (@brabuhr)


    Hi!
    I’m trying to style a table but for some reason the text turns to a grey colour when I hover over it. Here’s a screenshot: http://puu.sh/8xZSM.jpg

    This is what I have in my custom css:

    .tablepress-id-3 .row-hover tr:hover td {
    	background-color: #a3d0e0;
    	opacity: .5;
    	color: #ffffff;
    }

    I’m assuming it’s something in my theme’s css that’s causing this so I tried using the !important tag but that doesn’t work. Is there any else I could try?

    I’d appreciate any ideas! Thanks!

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

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Can you please post a link to the page with the table where this problem happens, so that I can take a direct look? Thanks!

    Regards,
    Tobias

    Thread Starter brabuhr

    (@brabuhr)

    Hi Tobias!

    Here’s the page with the table. Please excuse the super messy code! Still have a lot of cleaning up to do.

    Thanks for the reply!!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for the link!

    The problem seems to be the opacity that you are setting. From what I can see, that’s also affecting the text color and not just the background color. That’s not a direct problem in tables, but in CSS in general, I guess 🙁

    Regards,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘change color of text on hover’ is closed to new replies.