Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #413810

    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.

    #413813

    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

    #413823
    This reply has been marked as private.
    #413831

    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

    #413838
    This reply has been marked as private.
    #413950

    Hi!

    Changes are done. Please review your website now :)

    Regards,
    Yigit

    #414259

    Thanks so much Yigit!

    You rock

    #414477

    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

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Show/no show alt text on image’ is closed to new replies.