Remove Image Tooltip on Mouse Hover

Just need to change this “et_pb_image_wrap” class selector to your own class selector. Paste the below script to header or footer where you want.

<script>
jQuery(document).ready(function($){
        $( ".et_pb_image_wrap img" )
        	.mouseenter(function() {	
        		var title = $(this).attr("title");
        		$(this).attr("temp_title", title);
        		$(this).attr("title","");
        	})
        	.mouseleave(function() {
        		var title = $(this).attr("temp_title");
        		$(this).attr("title", title);
				$(this).removeAttr("temp_title");	
        	});
 });
</script>

Leave a Comment

Your email address will not be published. Required fields are marked *