WordPress.org

Support

Support » Plugins and Hacks » NextGEN Gallery - WordPress Gallery Plugin » [Plugin: NextGEN Gallery] using the slideshow feature with WPTouch for mobile

[Plugin: NextGEN Gallery] using the slideshow feature with WPTouch for mobile

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    You can adjust the width of the nextgen gallery slideshow using custom css by setting it to 100% width. WPtouch at this time does not support custom CSS. However, it is supported in WPtouch Pro.

    Thanks very much, I will look into upgrading.

    Related question: Does WPtouch Pro support sidebar widgets in some way? I’ve struggled in WPtouch with “what to do with the sidebar info” for mobile sites.

    Thanks again,
    Scott

    Scott,

    Sidebar widgets are not currently supported in WPtouch or WPtouch Pro.

    Hi, Scott.

    I don’t know if you use .nggSlideshow
    100% width will not work because you it resize photos via JavaScript.

    I guess there are only two options,
    1: obtain mobile browser dimension in PHP and pass these into nggSlideshow.
    2: work it out in in JavaScript, i did it that way:

    var maxW = Math.min(screen.width, window.innerWidth);
        var maxH = Math.min(screen.height, window.innerHeight);
        if (s.width > maxW ) {
          s.width = maxW;
          jQuery( obj ).width(maxW);
        }
        if (s.height> maxH ) {
          s.height = maxH;
          jQuery( obj ).height(maxH);
        }

    you can see how it works at my site: http://www.reznikdavydov.com

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: NextGEN Gallery] using the slideshow feature with WPTouch for mobile’ is closed to new replies.
Skip to toolbar