Quantcast
Channel: responsive – WordPress.org Forums
Viewing all articles
Browse latest Browse all 16569

Jorge Silva-Jetter on "[Plugin: JSJ Gallery Slideshow] Responsive"

$
0
0

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!


Viewing all articles
Browse latest Browse all 16569

Trending Articles