Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #375112

    Masonry has only 2 options. Always Display and Display on mouse hover. How can i hide title on hover?
    Failed attempt with: div.av-masonry-entry a:hover { color: transparent!important; }

    #375117

    Hey Khanh Hong!

    Please edit your element and choose to display only excerpt – http://i.imgur.com/EgBVDCA.png

    Best regards,
    Yigit

    #375221

    Why do i feel embarrassed?
    Anyway i did change the setting but the title still popup on hover with all cache cleared (Cloudflare, WP Super Cache, Browser cache). Same results on FF, Chrome and IE. Do you see the title at your end?
    Link: http://www.kimcheang.com/

    #375226

    Hi!

    It does show up fine on my end – http://i.imgur.com/z5uUHwB.png
    Please flush browser cache more times and try refreshing your page

    Best regards,
    Yigit

    #375234

    See image attached: http://i.imgur.com/5ht9G0p.png

    #375244

    Hey!

    Ok, that titles :)
    Please add following code to the 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

    #375265

    Great work Yigit. Thank you!

    Since i only want to turn off tooltip for masonry i made some changes:

    add_action(‘wp_footer’, ‘remove_masonry_tooltip’);
    function remove_masonry_tooltip(){
    ?>
    <script>
    jQuery(window).load(function(){
    jQuery(‘.av-masonry-container a, .av-masonry-container img’).removeAttr(‘title’);
    });
    </script>
    <?php
    }

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Masonry – how hide title on hover? (alt-value)’ is closed to new replies.