Hey,
When I hover an ‘image with hotspots’ element the filename appears next to the cursor. This looks quite unprofessional, so I would like to remove it. How do I do this?
Screenshot: http://s3-eu-central-1.amazonaws.com/itsoncraft/sitebuilding/20150821131904/screenshot-hover-hotspots.jpg
Website: http://www.laserhoofs.ninja (the image with hotspots is further down the page)
Thanks
Hi Emilvillumsen!
Please add following code to Functions.php file in Appearance > Editor
function add_custom_tooltip(){
?>
<script>
jQuery(window).load(function(){
jQuery('a').removeAttr('title');
jQuery('img').removeAttr('title');
});
</script>
<?php
}
add_action('wp_footer', 'add_custom_tooltip');
Cheers!
Yigit
Interesting solution. I had the same problem and just left the “title” of the image in the “library” blank, to the same effect …