Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #445905

    Hi!

    I have realized when i put mouse over the image on a website made by Enfold theme, it appears the text with the title of every image. I don’t want this appears, how can i make it?

    Here is an example of what i mean:

    http://a.pomf.se/vrdrcp.png

    Waiting for your reply

    Greetings!

    #446463

    Hi carlosamil!

    That is either the caption or the title of the image, you can remove that yourself by editing the image. Although I would recommend keeping it for SEO purposes.

    Cheers!
    Rikard

    #447641

    Ok, thanks! I don’t want to remove it in the title for SEO, but i am wondering of there is a chance that it doesn’t appear when mouse over. A code, or a plugin for this?

    Greetings!

    #448019

    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');

    Cheers!
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.