-
AuthorPosts
-
October 25, 2014 at 7:11 am #340911
Several weeks ago I posted about my alt text words on photos that appear on the computer when loading up for the first time as very very large, like 32pt. I was told the script below would take care of this, but it has not. I don’t get how the alt text gets that big in the first place, and certainly don’t get how to make it smaller…..Any help is appreciated. Thanks. -Ken
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’);October 27, 2014 at 10:03 am #341396Hey kenwae!
Thank you for using Enfold.
We need to see the actual website. Please post it here. A screenshot of the issue will help. Use imgur or dropbox.
Best regards,
IsmaelOctober 27, 2014 at 7:33 pm #341707the website is http://www.kenfieldsphotography.com
There are three pictures near the top which when loading for the first time will show the alt text, but will go away quickly as the page loads; for that reason, I doubt I could get a screen shot; after the site is cached on a computer, the alt text may not show up.
October 28, 2014 at 10:52 pm #342437Hey!
Do you mind creating a temporary admin login and posting it here privately? Title’s are removed with JS code so they may appear while page is loading
Regards,
YigitOctober 29, 2014 at 1:13 am #342503This reply has been marked as private.October 29, 2014 at 9:42 pm #343006Hi!
I have added the code but it is not being applied. Can you please try de-activating all active plugins and check if that helps?
Regards,
YigitOctober 30, 2014 at 3:45 am #343216I have deactivated all the plugins, emptied the cache and cleared the history. The page loads so fast I cannot see if the alt text has changed or not! One, or more, of the plugins is slowing down the page loading quite a bit. Most of the plugins are media library related…..Let me know what you might see….
October 30, 2014 at 5:00 am #343234Hi!
Really quite strange.
Please add this to your Quick CSS or custom.css
.avia_image{font-size: 12px;}
Cheers!
ArvishOctober 30, 2014 at 7:29 am #343271okay, thanks….
-
AuthorPosts
- The topic ‘Alt Text Size’ is closed to new replies.