Do have a video or a link to the published site? Hard to see why it may not be working.
Might recommend troubleshooting as it could be a local issue if it doesn’t work on preview.
Also, if you’re worried about it being live and maybe being indexed, you can always turn off indexing so you can test the hover interaction on the live site.