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 the header or footer where you want.

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");	
        	});
 });

Leave a Reply