Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author ILLID

    (@mihail-barinov)

    Hi,

    Looks like I found the solution for you. Please use following code snippet

    add_action( 'wp_footer', 'my_wp_footer' );
    function my_wp_footer() { ?>
        <script>
            window.addEventListener('load', function() {
    
                jQuery(document).on('envirabox-change', function() {
                    setTimeout(function() {
                        jQuery('#envirabox-img').sti();
                    }, 500);
                });
    
                jQuery('.envira-gallery-link').on('click', function() {
                    setTimeout(function() {
                        jQuery('#envirabox-img').sti();
                    }, 1000);
                });
    
            }, false);
        </script>
    <?php }

    You need to add it somewhere outside the plugins folder. For example, inside functions.php file of your theme or use some plugin for adding code snippets.

    Regards

    Thread Starter eddypiv

    (@eddypiv)

    Hi,

    I have added it to the functions.php of the child theme, but without effect.

    Any suggestion?

    Plugin Author ILLID

    (@mihail-barinov)

    Maybe you can send me the link to the page where this slider is placed?

    Thread Starter eddypiv

    (@eddypiv)

    Plugin Author ILLID

    (@mihail-barinov)

    I notice that sharing buttons are not visible only in the gallery full screen mode. When exit full screen they appears in the normal way.

    Is this possible for you to disable this full screen mode? Looks like it was made with idea not to show other image elements like sharing buttons.

    • This reply was modified 4 years ago by ILLID.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Sharing buttons not appearing in Lightbox’ is closed to new replies.