Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #25095

    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

    #125761

    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');
    }

    #125762

    Thanks for the help, that resolved the issue :)

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Images disappear on Hover when using Media Grid’ is closed to new replies.