WordPress.org

Ready to get started?Download WordPress

Forums

JSJ Gallery Slideshow
[resolved] Responsive (3 posts)

  1. designbynani
    Member
    Posted 1 year ago #

    Hi!
    thanks for the plugin!
    It works good in my client's website!
    However, it would be perfect if you make it responsive... So the images would resize when viewed in a mobile, for example... ;)

    Any idea of how to make that happen with current version?

    Thanks again!!!

    http://wordpress.org/plugins/jsj-gallery-slideshow/

  2. Jorge Silva-Jetter
    Member
    Plugin Author

    Posted 1 year ago #

    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!

  3. Jorge Silva-Jetter
    Member
    Plugin Author

    Posted 8 months ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic