Tagged: , ,

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #598490

    Hi guys,

    I have a problem with the hover text on my website. I’m using flickr justified gallery to get the images for my website and I’m using masonry gallery to display them. Every time I move the cursor on the picture, it shows the hover text as a complete HTML text. See here:
    https://www.dropbox.com/s/hhsksc3n061asap/Screenshot%202016-03-15%2015.49.11.png?dl=0

    When I try to edit them, the hyperlink doesn’t work anymore. The hyperlink is for the flickr page. See here:
    https://www.dropbox.com/home/Screenshots?preview=Screenshot+2016-03-15+15.49.31.png

    What code should I implement to hide the hover (HTML) text? Thanks in advance for your help

    #598494
    #598495

    Hi Yigit,

    thanks for your reply. I’ve implemented the code but it shows nothing if I click on the image. The text have to still be there to give the credits for the owner of the pictures.

    Kind regards,
    Felix

    #598506

    Hi!

    Can you please remove the code and post the link to your page? :)

    Best regards,
    Yigit

    #598511

    There you go: https://yourweler.com/trauringe-celle/ :)

    thanks in advance man!

    #598654

    Hi Yigit, are you still there?

    #598682

    Hi!

    Please use the code as following

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

    Cheers!
    Yigit

    #599279

    Hi Yigit,

    I’ve implemented the code, but the credits for the image uploader completely disappeared. As I mentioned above, I do still want to keep those texts and just want to hide the hover text. Please take a look again :)

    Kind regards,
    Felix

    #599604

    Hi Yigit,

    could you please take a look again? Thanks in advance,

    Kind regards,
    Felix

    #599787

    Hi!
    Please change the code to following one

    function remove_title_attr(){
    ?>
     <script>
    jQuery(window).load(function(){
    jQuery('.av-masonry-entry, .av-masonry-entry *').removeAttr('title');
    });
     </script>
    <?php
    }
    add_action('wp_footer', 'remove_title_attr');

    P.S.: For your information, this is a browser feature :)

    Regards,
    Yigit

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