I’m trying to create a tooltip that follows the mouse, as seen in this JSfiddle: https://jsfiddle.net/mgbv5tzx/212/
I’ve added the JS code to a wp_footer hook, the CSS in SimpleCSS, and the HTML in an HTML block in a blog post. It works, except the tooltip won’t follow the mouse as it does in the JSfiddle example. It just shows up statically.
I’m not sure whether something in WordPress or Generatepress is overriding what I’m trying to do? Do you have any idea what might solve this issue?
Best, Rob
GeneratePress 2.2.2
GP Premium 1.7.8