• Resolved burhanilme

    (@burhanilme)


    On the website https://serifali.reklamtest.tk/urunlerimiz/ at “how to use” button when we click the youtube list we can’t close the lightbox afterwards. We tried to fix it with disabling right left arrow in the lightbox page but we couldn’t do it either.

    I tried to do that on CSS as this;

    ?nside wp-content/plugins/easy-fancybox/fancybox/jquery.fancybox-1.3.7.min.css

    #fancybox-left, #fancybox-right {display:block; } Changed display:block to display:none but it didn’t help because on html, style is defined as;

    <a href="javascript:;" id="fancybox-left" style="display: block;"><span class="fancy-ico" id="fancybox-left-ico"></span></a>

    How can we fix this issue?

    • This topic was modified 8 years ago by burhanilme.
    • This topic was modified 8 years ago by burhanilme.
    • This topic was modified 8 years ago by burhanilme.
Viewing 1 replies (of 1 total)
  • Hi,

    The problem is that (for whatever reason) the link has a rel="attachment wp-att-190" attribute which for FancyBox means that it should be grouped into a gallery with other media links that have the same rel attribute value. Even if you disable the autogallery option on Settings > Media, it will still react to the rel attribute, supposing it to be a “manual” (instead of automatic) gallery.

    If there is a way to remove the rel attribute (switch to the Text tab if it’s a text widget or the main content field) then that should fix the problem.

    If that’s not possible your best option would be to use the theme’s built-in light box for the youtube link too. You’ll have to contact the Enfold developer on how to do that.

    The advantage of the last solution is that it will make your site lighter to load than it is now, loading two light box scripts at the same time.

Viewing 1 replies (of 1 total)
  • The topic ‘Can’t close lightbox after clicking Youtube Playlist Button’ is closed to new replies.