Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #940168

    how to remove image-name shows on hover please see the attached file IMAGENAME ON HOVER

    #940389

    Hey Cj,

    Here is how to do it

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

    #940393

    Thanks!

    #940781

    Hi Cj,

    Glad you got it working for you! :)

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #940804

    or – you replace the text what is shown on hover – for example to show the alt attribut text.
    If the image doesn’t have one – there will be nothing to see – if you have set an alt attribut this will show instead.

    this to functions.php of your child theme

    function image_alt_not_title(){
    ?>
    <script>
    (function($){
        $(window).load(function() {
          $('.lightbox-added img').each(function(){
                var lin = $(this).attr('alt');
                $(this).attr('title',lin);
            });
        });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'image_alt_not_title');
    #940822

    Thanks a lot Victoria!

    #940823

    Thanks Guenni007!

    #941243

    Hi,

    Glad we could help :-)

    Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

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