Viewing 1 replies (of 1 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    No, you won’t need an Extension, just a different HTML structure and some CSS code.
    For example, in your cells, put this:

    <span class="text-normal">Normal text</span><span class="text-highlight">Highlight text</span>
    

    You can change the actual text in the HTML code as desired.

    In addition, add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    .tablepress .text-highlight {
      display: none;
    }
    .tablepress td:hover .text-highlight {
      display: inline;
    }
    .tablepress td:hover .text-normal {
      display: none;
    }

    Regards,
    Tobias

Viewing 1 replies (of 1 total)
  • The topic ‘Change text on hover’ is closed to new replies.