Hi,
I’ve uploaded some images on my site. I named them SEO-wize, but it’s not really good looking for the user, when he/she hovers over the images and it appears this way. Can i set my settings this way that Google can still read my Alt image text, but it doesn’t appear when i hover over it?
Im using the Enfold theme.
Hey fpwrotterdam!
Please use following code in 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');
Best regards,
Yigit
Hi!
Please go to wp-content/themes/enfold and remove the code from functions-enfold.php file via FTP. Code should be inserted in functions.php file.
If you do not mind posting FTP access here, i can do the changes for you
Regards,
Yigit
Thanks so much Yigit!
You rock
Hi!
You are welcome, glad we could help :)
For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)
Regards,
Yigit