Support » Plugin: JSJ Gallery Slideshow » Responsive

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jorge Silva-Jetter

    (@jorgesilva-1)

    There’s a couple of ways you could go about that. If you you know a bit about code you could:

    1. Do a media query and using CSS overwrite the size of the images on mobile:

    @(max-width: 320px){
    .slideshow img {
    width: 100% !important;
    }
    }

    That’s NOT realy code, but something like that….

    2. You could also do something similar with javascript…

    if($(document).width() < 320){
    slideshowWidth = 320;
    // Re-Init Slideshow
    $(“#slideshow”).cycle({width: 320});
    }

    … something like that (also not realy code)

    I would recommend the first one… seems easier…

    Let me know if it works!

    Plugin Author Jorge Silva-Jetter

    (@jorgesilva-1)

    No response. Marking as resolved. (Because I obviously have OCD )

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Responsive’ is closed to new replies.