Hi, when i hover on a image i would like to remove the alt text is showing by hovering the image- but i want only remove the hover text, not the alt title in code for the image (SEO Reason)
Thank you
Hey siteraum,
To remove the alt text that appear on hover please refer to this tutorial http://kriesi.at/documentation/enfold/remove-image-titles-that-show-up-when-you-hover-on-images/
Best regards,
Vinay
Hi Vinay,
thank you for answer- i used this code before but i dont want to remove the title on the code
<img class="avia_image " src="…………./joe-makroenchen-hamburg-macarons-tasse-decoration.jpg" alt="" title=”joe-makroenchen-hamburg-macarons-tasse-decoration” itemprop=”thumbnailUrl” />
and when i use the snippet it looks like this
the title is complitly remove
but i need the title in the code for seo- is there another solution?
thank you
sorry the code when i use the snippet
ohh the code is not showing- so the code is without the title in the image
Hi,
It’s a default feature of the browser to show the title of the image if the image has a title attribute assigned to it. There is nothing we can do about it as we do not have control over the way browsers work. You either have to remove the title arttibute from the image to remove the title or add it to get the SEO benefits.
Best regards,
Vinay
hi Vinay, thanks for answer
I understand!
thank you
Hi,
Thank you for your understanding, to know more about enfold features please check – http://kriesi.at/documentation/enfold/
Thank you for using Enfold :)
Best regards,
Vinay
Hi,
This is an update to your query a few day’s back.
The below code will remove the image title on hover and the title remains intact other time which is good for SEO
Please try adding this at the very end of your themes / child themes functions.php file:
https://pastebin.com/raw/NicGSrU1
Best regards,
Vinay