• Resolved rgosse75

    (@rgosse75)


    Hello Tobias,

    Is there a way to disable the hover effect on tables in mobile format but keep it intact for desktop?

    Please advise, thanks.

    Cheers!

    Bobby

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Yes! You’d just need to turn it off with CSS code that is setting the desired color, inside a CSS media query. For that, please add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    @media screen and (max-width: 768px) {
      .tablepress .row-hover tr:hover td {
        background-color: inherit;
      }
    }

    (If you are using the Alternating Row Colors, we might need another tweak.)

    Regards,
    Tobias

    Thread Starter rgosse75

    (@rgosse75)

    Hello Tobias,

    I am actually using alternating background colors.

    I copied the css and it removed the complete highlight of the row but when you click the “+” on the collapsable mobile format it quickly flashes a light blue color really quick.

    Most likely because I am using a blue color hover effect on 3 tables.

    Maybe I need that other tweak you mentioned to eliminate any color?

    I tried putting !important; to your css but it didn’t change anything after refreshing the page a few times.

    Let me know when you get a chance, thanks.

    Cheers!

    • This reply was modified 6 years, 2 months ago by rgosse75.
    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    that other hover effect is a bit weird. Not sure where that is coming from. We might need to have to look at this once the site is live, just as for the other highlighting. Otherwise, it would be all guessing…

    Regards,
    Tobias

    Thread Starter rgosse75

    (@rgosse75)

    Ok I’ll add that to the list to check once the site is live.

    I’ll be in touch if anything else comes up.

    Thanks.

    Cheers!

    • This reply was modified 6 years, 2 months ago by rgosse75.
    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    yes, let’s do that then!

    Regards,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Mobile Hover Effect’ is closed to new replies.