Managed to remove title from showing in the galleries bu titles still showing on hover.
Currently using:
jQuery(‘document’).ready(function($)
{
$(’.envira-gallery-image[title]’).removeAttr(‘title’);
});
Managed to remove title from showing in the galleries bu titles still showing on hover.
Currently using:
jQuery(‘document’).ready(function($)
{
$(’.envira-gallery-image[title]’).removeAttr(‘title’);
});
Hi Daniel,
Thank you for writing in, please update your jQuery code to this:
jQuery('document').ready(function($) {
$('a.envira-gallery-link').removeAttr('title');
});
Add this to Theme Options > JS
Please be reminded that we do not really support 3rd party script, it would ultimately be your responsibility to take it from here.
If that did not work, please clear any caching and optimizer plugin you might have.
Cheers!
Thanks for your answer, after clearing cache, titles still appear on cursor hover.
Hi Daniel,
Lets try to remove the title on both anchor tag and image itself, please update the JS code to this:
jQuery('document').ready(function($) {
$('a.envira-gallery-link, a.envira-gallery-link img').removeAttr('title');
});
Hope it helps,
Cheers!
Yes! Thanks so much.
You’re welcome, glad we could help.
Cheers!
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.