• Resolved mapgrrl

    (@mapgrrl)


    Hi
    I used your css suggestions for highlighted cell color and it works great. However I need the hover text color to change as well and the cs didnt work. The text also happens to be hyperlinks.

    bg color works but color doesnt.

    .tablepress-id-5 .row-hover tr:hover td {
    background-color: #465c71;
    color: #ffffff;
    }

    the text is styled by the site css:

    a:hover, a:focus, a:active {
    outline: 0;
    color: #444;
    text-decoration: none;
    }
    but I don’t want to have to change the a:hover style for the entire site. can I target the just the highlighted cell text ?
    https://jenniferswain.com/wpss/products/boltless-shelving/

    https://www.ads-software.com/plugins/tablepress/

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

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    Just combine the selectors, like this:

    .tablepress-id-5 .row-hover tr:hover td {
    	background-color: #465c71;
    }
    .tablepress-id-5 .row-hover tr:hover a {
    	color: #ffffff;
    }

    Regards,
    Tobias

    Thread Starter mapgrrl

    (@mapgrrl)

    works great! thank you!!!

    Plugin Author Tobias B?thge

    (@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 3 replies - 1 through 3 (of 3 total)
  • The topic ‘hover cell text color?’ is closed to new replies.