WordPress.org

Ready to get started?Download WordPress

Forums

Simple Lightbox
[resolved] Disable lightbox if mobile device (5 posts)

  1. brandcrafted
    Member
    Posted 1 year ago #

    I'd like to disable simple lightbox if the theme is being viewed on a mobile device.
    Any ideas?

    http://wordpress.org/extend/plugins/simple-lightbox/

  2. Archetyped
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    This is not supported primarily because there are so many different mobile platforms (and new ones popping up each day). Unfortunately, maintaining the platform-specific code for each mobile platform would not be practical.

    Another option would be to optimize the display of items in the lightbox using a responsive theme. The default themes in SLB 2.0 will be fully responsive and theme designers are encouraged to add responsive functionality to their themes as well.

  3. brandcrafted
    Member
    Posted 1 year ago #

    I am building a responsive theme, but the simple lightbox expands to be too large on a mobile screen. Thanks.

  4. Archetyped
    Member
    Plugin Author

    Posted 1 year ago #

    Are you referring to a responsive theme for WordPress or for Simple Lightbox (SLB)?

    SLB themes are independent from WP themes but they can also be made to be responsive, thus keeping the lightbox from expanding too large on mobile devices.

  5. Archetyped
    Member
    Plugin Author

    Posted 1 year ago #

    Marking thread as resolved due to lack of activity. Please feel free to update this thread if you have any additional info to provide.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags