I'm trying to implement the following bit of code to create a hover tooltip that follows the mouse: https://jsfiddle.net/mgbv5tzx/212/
I've implemented it on my wordpress page, exactly as in the JSfiddle mentioned. However, it only works partly, the tooltip only shows statically, it doesn't follow the mouse around. It's like it's not reading the last few lines of code that deal with mouse movement (or maybe something else is going on?).
I'm using GeneratePress, with the JS code as a hook on wp_footer, CSS in SimpleCSS plugin, and HTML bit as an HTML block on a blog post.
Do you have any idea what may be going on? Thanks!