• Resolved hazy23

    (@hazy23)


    Hi,

    I have been using your plugin for some time now. It’s very user-friendly and I love the features. Recently I noticed that the title of images is showing on hoover. Is there a way to hide this?

    Thanks,
    Hazy

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @hazy23

    Thanks for contacting us!

    I’m very sorry for the trouble — that title you see on hover is put there for screen-readers so any users visiting your site with disabilities can have the page read to them. This is considered very important for Google when they crawl through your site and is also good for SEO.

    Something like this may work for you, but, as a warning, this has not been fully tested:

    jQuery(‘.envira-gallery-item img’).hover(function() {
    jQuery(this).data(‘title’, jQuery(this).attr(‘title’));
    jQuery(this).attr(‘title’, ”);
    }, function() {
    jQuery(this).attr(‘title’, jQuery(this).data(‘title’));
    });

    Please know a customization such as this is typically outside the scope of support. We never recommend making any changes to your theme files directly. It’s always best to use a child theme.

    Please let me know if this helps!

    Thread Starter hazy23

    (@hazy23)

    Maybe I’m wrong but are you not confused with the alt text. From my understanding, the alt text describes the image and is important for the SEO. And also this will usually show up on right-click on the image and not hoover.

    Is adding the coding the only option to hide the image title? Isn’t there an option in the menu to disable this?

    Thanks,
    Hazy

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hide Imag title’ is closed to new replies.