Announcement

Collapse
No announcement yet.

How to make pictures "click to enlarge" on mobile.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to make pictures "click to enlarge" on mobile.

    I managed to get pinch to zoom to work on 3dcarts mobile theme. Now I want click to enlarge. That way mobile users can see higher resolution pictures like on the desktop. How can I do this easily?

  • #2
    Hi Vita-vibe, how did you get mobile pinch to zoom to work on mobile? 80% of our traffic is mobile and I can't get mobile to zoom. works on desktop but not mobile.

    Comment


    • #3
      I had to edit some of the template code. This code makes it pinch to zoom.
      <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2, user-scalable=yes" />
      Edit your template then clear the cache in 3dcart and test if it works. Its pretty simple now that I have it figured out. :)

      Comment


      • #4
        awesome - trying it today!
        :):):)

        Comment


        • #5
          Hi Vita-vibe, where do you place the <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2, user-scalable=yes" /> code?

          Thank you!

          UPDATE: If anyone is at thick as me, I wanted to let them know... You place the code within the 'frame'. Just below the <head>

          Thank you - works awesome!
          Last edited by damiencaz; 08-11-2016, 12:26 PM.

          Comment

          Working...
          X