• Resolved monteiro94

    (@monteiro94)


    Hello, I am facing an issue with getting the image to parallax on a mobile display. It seems that the code I’m currently using may be incorrect. Could you kindly provide me with the correct code or method to achieve parallax on mobile devices? Thank you very much.

    • This topic was modified 6 months, 3 weeks ago by monteiro94.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author thehowarde

    (@thehowarde)

    It would make sense for you to provide what you’re using.

    As shown on the main plugin page. The correct code is:

    [dd-parallax img="imagename.jpg" height="600" speed="3" z-index="-100" mobile="mobile-image.jpg" offset="true"]
    Thread Starter monteiro94

    (@monteiro94)

    Im using WordPress. I used the same code I even tried different size image but the parallax only works on PC display and not Mobile view. The image scrolls normal on mobile but works on PC.

    • This reply was modified 6 months, 2 weeks ago by monteiro94.
    Plugin Author thehowarde

    (@thehowarde)

    that is correct it does not parallax on mobile. This is a limitation of the JavaScript which I did not create. The purpose of the mobile image is so that you can have a better image for mobile.

    Thread Starter monteiro94

    (@monteiro94)

    thank you I still appreciate the plugin alot. It was the only one that worked for me.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Code for Mobile’ is closed to new replies.