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

    Hi, when you hover over a masonry blog post, the title of the image pops up on the tooltip.

    Can we turn this off? I looked at other threads and they do not seem to apply anymore. The only solution we could come up with is removing the title from the media library, which seems weird.

    Any help would be appreciated, thanks!

    #1282443

    Hey raisonbrands,

    I did not see the tooltips on the home page. Where can we see the issue?

    Best regards,
    Victoria

    #1282937

    Hi Victoria, Click the “Show More” button, the articles that populate below will have the tool tip.

    Our programmer deleted the titles for the first three so wee could show them to the client.

    Thanks!

    #1283433

    Hi raisonbrands,

    Have you tried the solution posted here
    https://kriesi.at/support/topic/hide-titles-and-descriptions-when-you-hover-on-images-or-thumbnails-of-galleries/#post-981936

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #1283495

    Hi Victoria, our designer tried that, he said it removes the title attribute on the link, not the image. Just for clarity, this is what we would like to remove:

    http://capblog.raisonbrandsdev.com/wp-content/uploads/2021/02/Tooltip-scaled.jpg

    #1284674

    Hi,

    Sorry for the late reply!

    I checked your website and it seems like you have managed to remove titles by using following code in functions.php file

    add_action('wp_footer', 'ava_custom_script');
    function ava_custom_script(){
    ?>
    <script type="text/javascript">
    (function($) {
    	function a() {
            $('.av-masonry-entry').each(function(){
              $(this).removeAttr('title');
            });
        }
    	
    	$(window).on('load', function() {
    		a();
    	});
    })(jQuery);
    </script>
    <?php
    }

    If you need further assistance, please let us know :)

    Best regards,
    Yigit

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