• Resolved Faraon83

    (@faraon83)


    How to make HOVER for a specific row.
    For example. How to disable HOVER for 3 rows.
    or how to enable for 4 and 5 row your HOVER.
    doesn’t work

    
    .tablepress-id-4 .row-3 tr:hover td {
    	background-color: none;
    }
    

    or

    
    .tablepress-id-4 .row-4, .tablepress-id-4 .row-5 tr:hover td {
    	background-color: #ff0000;
    }
    
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    The CSS needs to be

    .tablepress-id-4 tr.row-4:hover td,
    .tablepress-id-4 tr.row-5:hover td {
    	background-color: #ff0000;
    }

    Regards,
    Tobias

    Thread Starter Faraon83

    (@faraon83)

    Thank you.Works well.
    But how to disable for a specific row.

    
    background-color: none;
    

    I tried that but not working.

    Thread Starter Faraon83

    (@faraon83)

    Thank you.Works well.
    But how to disable for a specific row.

    
    background-color: none;
    

    I tried that but not working.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    instead of setting a background color of none, you should set it to the same background color that it already has.

    Regards,
    Tobias

    Thread Starter Faraon83

    (@faraon83)

    Thank you.
    good day to 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 6 replies - 1 through 6 (of 6 total)

The topic ‘how to make? hover’ is closed to new replies.