WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: jQuery Colorbox] Disable on mobile devices (2 posts)

  1. Jakets
    Member
    Posted 4 years ago #

    Hi, is there a simple way to have this disabled on mobile devices? In not could you possibly add that into the plugin? I know a few other lightbox clones have a feature to disable them for mobile devices.

    I also have a second question, can you make a theme that will handle small 100x100 images as well as larger images? Or somehow make it so I can tell it to be a certain size on small images and wrap around larger images? I have some small images that link for various reasons on a lot of older posts, and it looks pretty bad when you actually click them on Colorbox, as it smashes the buttons together and the text. I have worked around this by defining that it always be 95% of the screen, but it still feels silly that way.

    Thanks and great plugin. :D

    http://wordpress.org/extend/plugins/jquery-colorbox/

  2. techotronic
    Member
    Posted 4 years ago #

    Hi,
    which of the plugins have the option to switch them off if the site is opened in a mobile browser? I would like to take a look at the implementation.

    For your second request you will have to write a post in the Colorbox Google Group, since I do not change the Colorbox JavaScript.
    Best regards,
    Arne

Topic Closed

This topic has been closed to new replies.

About this Topic