Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #370637

    When you hover over an image the image title shows up next to your pointer. You can get rid of those by just keeping the Alt tag and getting rid of the Title of the image.

    For the portfolio pieces the titles are determined by the portfolio name and when you hover over the thumbnail you get the tile showing up twice:
    http://screencast.com/t/98740sXJcwJ

    Any way to remove the title attribute for portfolio items?

    #370640

    Hey Andrea!

    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

    #371626

    This worked GREAT! Thank you so much!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Remove Title Attribute on Portfolio Pieces’ is closed to new replies.