If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
May 10, 2012 at 2:43 pm #12270May 15, 2012 at 6:08 am #74899
Try following code instead. Add it to js/avia.js after the document.ready line:
PeterNovember 13, 2012 at 8:40 pm #74900
i have tried this as well and it does not work – the title is still coming up on the slider images for the featured media – is there another way of doing this?
here is what i have:
/* this prevents dom flickering, needs to be outside of dom.ready event: */
document.documentElement.className += 'js_active';
/*end dom flickering =) */
//global path: avia_framework_globals.installedAt
}November 14, 2012 at 12:28 pm #74901
I’m not aware of another solution. Obviously there’re better solutions (eg http://forum.jquery.com/topic/ (Purchase code hidden if logged out) or http://stackoverflow.com/questions/3885920/ (Purchase code hidden if logged out) -not-remove-it ) but they’re all based on the same jquery function and if it doesn’t work with the code I posted above it won’t work with these solutions too.November 14, 2012 at 6:56 pm #74902
Sorry to leap into this post. I need to try the same for my site too. In which file should I add the code? .CSS?
Thank you.November 15, 2012 at 7:12 am #74903
You can add it to js/avia.js – insert the code at the very top after/below following line:
PeterFebruary 21, 2013 at 8:52 am #74904February 21, 2013 at 8:57 am #74905
Correction: Using the above line only fixed the title display on link through images. Including a second line of code with just ‘img’ being used solved the problem for the images in the slider as well.
This is what I used for the final solution:
jQuery('img').attr('title','');February 21, 2013 at 9:20 am #74906
The topic ‘How to disable display image title when hovering over image’ is closed to new replies.