Problem with Lightbox – Essential Grid

#123959
  • Resolved Stefano Montuschi
    Rank Math pro

    Hi guys,

    as soon as we activate your plugin, some lightbox effects of another plugin “Essential Grid” don’t work correctly anymore.

    If we link for example a post title to a lightbox video, it opens up a separate blank page with the title “about:blank#blocked”

    Do you have any idea on how to solve the issue?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    In relation to your query here, I would recommend that you ensure that your grid’s lightbox is set to display the post and video content as well.

    If this does not resolve the issue, you could be facing an issue related to Rank Math’s “noopener” tag added to all your site’s external links. Rank Math adds a “noopener” rel-tag to all your external links [in this case the post title linked to the lightbox video]. The “noopener” tag prevents the opening page to gain any kind of access to the original page. Please refer here: https://www.reliablesoft.net/noreferrer-noopener/#noopener

    This particular rel-tag seems to be breaking the lightbox functionality on your website with the Essential Grid plugin.

    Please add this filter to your theme’s functions.php file to disable the addition of the noopener tag and to fix this issue:

    add_filter( 'rank_math/noopener', '__return_false' );

    It is also worth trying to disable all link options in WordPress Dashboard > Rank Math > General Settings > Links to cross-check if any link options in Rank Math are interfering with the working of your lightbox.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Thank You

    Hi Uzair,

    thanks a lot for your reply!

    I added the code to functions-php and deactivated the option “open links in new tab” in Rank Math. The problem has been solved!

    Thanks again for your help!

    Best regards,
    Stefano

    Hello,

    We are glad to hear that it is working fine now.

    If you need further help or with anything else, please open a new support ticket here so we can help.

    We are always here for assistance.

Viewing 3 replies - 1 through 3 (of 3 total)

The ticket ‘Problem with Lightbox – Essential Grid’ is closed to new replies.