I have noticed that the font size of the alt text on my images is very large; not all of them, but several, for some reason. I suppose there is a way of changing the alt text font size, but I cannot figure out what that is. How can I make the alt text font size on some of these images more normal??
Hey kenwae!
Can you post the link to your website and point out an example so we can provide you more accurate solution?
Best regards,
Yigit
kenfieldsphotography.com
the first couple of pictures on top, the rainbow, palm front and little water fall have, when page loads up first time and I see the alt text, very large alt text font. I’ve noted this on other images as well throughout the site, but not all of them….
Hi!
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');
Best regards,
Yigit
Thank you.