Support » Plugin: Share This Image » Not working on Mobile

  • This plug-in is working great for me on desktop, but I can’t get the sharing buttons to appear on mobile. I have tried decreasing the minimum height and width of the images, but this does not help.

    The page I need help with: [log in to see the link]

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

    (@mihail-barinov)

    Hello,

    Sorry for the late reply.

    As I understand you disable plugin on your site for now.
    Can you please enable it on one of your page so I can test it?

    Regards

    abcancer

    (@abcancer)

    Hi, The plug in is enabled but only for specific photos. The ones in the gallery underneath the “Share” banner.
    Regards

    Plugin Author ILLID

    (@mihail-barinov)

    Please tell me what plugin/script you are using to create that gallery?

    abcancer

    (@abcancer)

    HI ILLID,
    The gallery is a feature of my WordPress Theme: https://codex-themes.com/thegem/pages/galleries/galleries-04/

    The share image icons work in the gallery on a desktop, just not on mobile. Further, I’ve tried to get it to work with images that are not in a gallery and still does not work on mobile.

    Plugin Author ILLID

    (@mihail-barinov)

    Please try to add following code

    add_action( 'wp_footer', 'sti_footer', 99999999 );
    
    function sti_footer() { ?>
                <script>
                    (function($){
                        $(document).on('ready', function() {
                            try {
                                $(".fancy-gallery").fancybox({
                                    afterShow: function(){
                                        $('img').sti();
                                    },
                                    onComplete: function(){
                                    }
                                });
                            }
                            catch(error) {}
                        });
                    })( jQuery );
                </script>
            <?php }
    abcancer

    (@abcancer)

    I’m sorry, which document should I be adding the code to?

    Plugin Author ILLID

    (@mihail-barinov)

    You can add it to your theme functions.php file.

    I’m Sorry, I believe I did this correctly, but there was no change.

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