Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #394361

    Hi,
    I have installed a third party fotogallery plugin into my website whith enfold theme, for exacly WP-GALLERY_BANK ( http://tech-banker.com/products/wp-gallery-bank/ )
    I use a fotogallery widget on my footer, but when i click on thumbs into small fotogallery ( on footer) open two lightbox.
    Is it possible to remover what I think is the enfold lightbox effect on a single widget only?
    Thanks
    Andrea

    #394364

    Hi foscolino!

    Website you posted is not using Enfold theme :)

    Regards,
    Yigit

    #394370

    Hi Yigit, website in my post is a plugin if i used for my website..
    I have a problem whith this plugin, i open two lightbox on widget, Is it possible to remover what I think is the enfold lightbox effect on a single widget only?

    thanks

    #394371

    Hi!

    Can you post the link to your page where we can see the issue please?

    Cheers!
    Yigit

    #394376

    Hi Yigit, thank you, you can see my website at this url:

    http://eolo.zapto.org

    check on my footer and try to click on one thumbs..

    thanks
    Andrea

    #394386

    Hey!

    I can only see shortcodes – http://i.imgur.com/bI8jY1L.png :/
    Do you mind creating a temporary admin login and posting it here privately?

    Regards,
    Yigit

    #394406
    This reply has been marked as private.
    #394414

    Hi!

    Please keep us updated and we will gladly look into it once the issue with license is resolved :)

    Best regards,
    Yigit

    #394907

    Hi Yigit,
    I have resolved my problem whit gallery bank license, I have pubblished temp website to this new url:

    audioeluci.test.com-net.it

    I use a gallerybank fotogallery widget on my footer, but when i click on thumbs into small fotogallery ( on footer) open two lightbox.
    I would you like to use “Lightbox Modal Window”, if i disable it, the problem is resolved, but is it possible to remover what I think is the enfold lightbox effect on a single widget only?
    Thanks

    Andrea

    #394908
    This reply has been marked as private.
    #395643

    Hi!

    Try adding following code to functions.php file in Appearance > Editor

    function remove_footer_lightbox(){
    ?>
    <script>
    jQuery(window).load(function(){
    jQuery('#galleryallalbumswidget-2 a').removeClass('lightbox-added');
    jQuery('#galleryallalbumswidget-2 a').addClass('noLightbox');
    jQuery('#galleryallalbumswidget-2 img').removeAttr('type');
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'remove_footer_lightbox');

    Regards,
    Yigit

    #395714

    Hi Yigit, sorry for duplicate post.
    I have tried your function but not work :-(

    Ismael suggested Try to edit js > avia.js file then look for this code:

    exclude : '.noLightbox, .noLightbox a, .fakeLightbox, .lightbox-added,

    Replace it with:

    exclude : '.noLightbox, .noLightbox a, .fakeLightbox, .lightbox-added, .widget .element',

    and work correctly!

    Can I keep this solution or would you like to examine your function?

    • This reply was modified 9 years, 9 months ago by foscolino.
    #395721

    Hi!

    Ismael’s solution looks great! Glad he could help. Let us know if you have any other questions or issues

    Cheers!
    Yigit

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.