Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #291983

    Dear Support Team,

    I wonder if I can avoid somehow that the name of an image is displayed by mouseover?

    I don’t mean the description of an image like it is displayed in a gallery function. I refer to “normal” images, like in teasers or headers.

    Thanky so much for your help,
    Sandra

    #292011

    Hey Sandra!

    Please add following code to Functions.php file in Appearance > Editor

    function add_custom_script(){
    ?>
    <script>
    jQuery(window).load(function(){
    jQuery('img').removeAttr('title');
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'add_custom_script');

    Best regards,
    Yigit

    #292145
    This reply has been marked as private.
    #292148

    Hey Sandra!

    1- functions.php is the correct file
    2- Yes it is
    3- You should set correct permission. Please see – http://codex.wordpress.org/Changing_File_Permissions
    You can contact your service provider and they can do it for you. You can connect and edit the file via FTP as well.

    Regards,
    Yigit

    #292168
    This reply has been marked as private.
    #292179

    Hi!

    You are welcome! Please try and let us know so we can mark the thread as resolved or assist you further

    Cheers!
    Yigit

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