Tagged: enfold
When you hover over an image the image title shows up next to your pointer. You can get rid of those by just keeping the Alt tag and getting rid of the Title of the image.
For the portfolio pieces the titles are determined by the portfolio name and when you hover over the thumbnail you get the tile showing up twice:
http://screencast.com/t/98740sXJcwJ
Any way to remove the title attribute for portfolio items?
Hey Andrea!
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
This worked GREAT! Thank you so much!