Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5376
    sojournerweb
    Participant

    Is there a way to make the responsive lightbox work with pinch-to-zoom on mobile devices?

    I am attempting to enable pinch-to-zoom on my theme, but it seems that whatever lightbox style I chose, it causes the page to crash when I actually pinch to zoom in. It does not crash when I disable pinch-to-zoom on my theme.

    #6591
    arvid
    Participant

    Hello
    I use Boardwalk theme with responsive lightbox SwipeBox.

    I figured the way to get zoom/pinch working was to change this line in my theme’s header:
    <meta name=”viewport” content=”width=device-width, initial-scale=1″>

    With only c’n’p skillz I found below lines and replaced above line to:
    <meta name=”viewport” content=”width=device-width; initial-scale=1.0; maximum-scale=2.0; user-scalable=1;” />
    and also tried:
    <meta name=”viewport” content=”user-scalable=YES” />
    ..both crashed the mobile css and desktop css was activated.

    Tried this https://wordpress.org/plugins/definitely-allow-mobile-zooming/
    to no avail in the SwipeBox.

    So I’d like to bump @sojournerweb’s still valid question.
    Any tips?

    #6597
    Bartosz
    Keymaster

    Sorry, but it’s not supported yet by any of the sctipts. It may change in the future.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.