Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author smashballoon

    (@smashballoon)

    Hey Gaurav,

    If you want to hide the feed on mobile using CSS media queries then you can just add the following to the plugin’s Custom CSS section, which is on the plugin’s Customize page:

    @media (max-width: 480px) {
      #sb_instagram{ display: none }
    }

    You can change the 480 width to be more or less if you like depending on what your current mobile breakpoints are.

    Let me know whether that works for you, and I hope you’re having a good day.

    John

    Thread Starter Gaurav

    (@gaurav005)

    Thanks John, it worked like charm.
    Is there any way to provide a custom link for mobile users instead of this plugin.
    For example: Follow us on Instagram.
    There could be a simple anchor tag.
    Is there any way to do that?

    Plugin Author smashballoon

    (@smashballoon)

    Try adding this to the plugin’s Custom JavaScript section:

    if( $(window).width() < 480 ) $('#sb_instagram').after('<a href="http://instagram.com/yourpage">Follow us on Instagram</a>');

    Let me know if that works.

    John

    Thread Starter Gaurav

    (@gaurav005)

    Thank you John.
    It worked for me.

    Plugin Author smashballoon

    (@smashballoon)

    Awesome, glad to hear that worked for you 🙂

    No obligation, but if you like the plugin and support you received would you consider leaving a really quick review? It really helps to support the ongoing development of the plugin!

    Just let me know if you have any other questions, and have a great weekend.

    John

    Thread Starter Gaurav

    (@gaurav005)

    Yes John this plugin really deserves excellent reviews and rating.
    And especially for your awesome support.

    Plugin Author smashballoon

    (@smashballoon)

    Thanks so much Gaurav, we really appreciate the positive review! You’re awesome 🙂

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

The topic ‘Disable on mobile devices’ is closed to new replies.