Zoom only works when you load the page in landscape on ipad?

This topic has 21 replies, 2 voices, and was last updated 7 years, 8 months ago ago by Rose Tyler

  • Avatar: capital
    John
    Participant
    April 10, 2017 at 10:53

    Hi,

    We are having a problem with the product zoom. If you open the site on an ipad in landscape mode, the zoom works fine. If you open it in portrait, it doesnt work at all? You hold your finger on the image and it opens a menu with options like copy, save image, add to reading list etc.

    Why is this? Link in private content..

    Please, contact administrator
    for this information.
    20 Answers
    Avatar: capital
    John
    Participant
    April 10, 2017 at 10:54

    This seems to be the case on all products.

    Avatar: capital
    John
    Participant
    April 10, 2017 at 10:56

    Also, if you open the site in portrait view and then TURN it to landscape, the zoom doesnt work.

    If you open it in landscape and turn it to portrait the zoom DOES work. So its definitely something to do with the site being loaded inlandscape view first that makes the zoom work, but obviously this is a problem.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 11, 2017 at 07:02

    Hello,

    I’ve checked zoom and seems it works fine. Please check if the problem persists with default Woocommerce theme Storefront.

    Regards,
    Rose Tyler.

    Avatar: capital
    John
    Participant
    April 11, 2017 at 09:44

    Im sorry but the zoom does NOT work.

    Load the product page in ipad portrait view – the zoom will not work.

    Load in it landscape view – it works.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 11, 2017 at 14:31

    Hello,

    The same situation you can see on our demo.
    You can try to edit etheme.js file to change it.

    Regards,
    Rose Tyler.

    Avatar: capital
    John
    Participant
    April 11, 2017 at 14:42

    How? Its a fault with your theme, it isnt for me to fix?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 11, 2017 at 14:48

    Hello,

    It is not a bug. In our theme, zoom is disabled on this screen resolution, by default.

    Regards,
    Rose Tyler.

    Avatar: capital
    John
    Participant
    April 12, 2017 at 09:42

    So how do I enable it on portrait view? I have the etheme.js file open but I cant see where to change it?

    Avatar: capital
    John
    Participant
    April 12, 2017 at 11:17

    ?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 12, 2017 at 12:25

    Hello,

    Please see screenshots http://prntscr.com/evi4ce http://prntscr.com/evi523

    Regards,
    Rose Tyler.

    Avatar: capital
    John
    Participant
    April 12, 2017 at 12:29

    So that number needs to be reduced to lets say 600?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 12, 2017 at 12:54

    Hello,

    Yes, try to change the value to what you need and then check.

    Regards,
    Rose Tyler.

    Avatar: capital
    John
    Participant
    April 12, 2017 at 13:38

    I have put it all the way down to 200 and it still doesnt work in portrait view..

    Avatar: capital
    John
    Participant
    April 12, 2017 at 13:45

    Down to 100, still no change..

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 13, 2017 at 08:01

    Hello,

    At first, you need check changes, what you made because now I see not our theme files on your site http://prnt.sc/evue6h.

    Regards,
    Rose Tyler.

    Avatar: capital
    John
    Participant
    April 13, 2017 at 09:38

    Sorry you are looking at the dev site, I had to put the site live and thats where I have changed the code in etheme.js. Link in private content.

    Please, contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 13, 2017 at 09:47

    Hello,

    Please clear all cache on server, site, browser, and then check.

    Regards,
    Rose Tyler.

    Avatar: capital
    John
    Participant
    April 13, 2017 at 10:07

    I have, many times. In portrait view it still pops up the dialogue box to save, copy or open the image. It does NOT zoom 🙁

    Avatar: capital
    John
    Participant
    April 13, 2017 at 11:59

    Any thoughts?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 13, 2017 at 13:55

    Hello,

    Oh I see, you need also edit /wp-content/themes/royal/woocommerce/single-product/product-image.php file http://prntscr.com/evyqfv

    Regards,
    Rose Tyler.

  • Viewing 21 results - 1 through 21 (of 21 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.