Hi,
We are using the Media Grid plugin, in webkit browsers whenever the mouse hovers over the image it seems to disappear and we need to reload the page to get it back. We contacted media grid and they’ve advised us of the following:
“if you note, there’s an additional overlay that is wrongly added by another element of the website (probably the theme).
It is causing the issue on webkit browsers. So, you simply have to ask the theme developer why it is attached on third part elements.
On the MediaGrid side everything is working perfectly!”
Could you please help me disable this overlay to correct this issue?
Thanks,
Moussa
Open up wp-contentthemesenfoldjsavia.js and replace
if(container == 'body')
{
var elements = $('#main a img').parents('a').not('.noLightbox, .noLightbox a, .avia-gallery-thumb a');
}
else
{
var elements = $('a img', container).parents('a').not('.noLightbox, .noLightbox a, .avia-gallery-thumb a');
}
with
if(container == 'body')
{
var elements = $('#main a img').parents('a').not('.noLightbox, .noLightbox a, .avia-gallery-thumb a, .mg_grid_wrap a, .thumb');
}
else
{
var elements = $('a img', container).parents('a').not('.noLightbox, .noLightbox a, .avia-gallery-thumb a, .mg_grid_wrap a, .thumb');
}
Thanks for the help, that resolved the issue :)