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

20 replies2 participantsUpdated by Rose Tyler

  • Avatar: capital
    John
    Participant

    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

    This seems to be the case on all products.

    Avatar: capital
    John
    Participant

    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

    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

    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

    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

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

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    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

    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

    ?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

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

    Regards,
    Rose Tyler.

    Avatar: capital
    John
    Participant

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

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

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

    Regards,
    Rose Tyler.

    Avatar: capital
    John
    Participant

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

    Avatar: capital
    John
    Participant

    Down to 100, still no change..

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    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

    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

    Hello,

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

    Regards,
    Rose Tyler.

    Avatar: capital
    John
    Participant

    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

    Any thoughts?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    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.

Want to reply? Log in, or register with your ThemeForest purchase code, to reply to this topic.

Login / Register