Title: Code for Mobile
Last modified: May 5, 2024

---

# Code for Mobile

 *  Resolved [monteiro94](https://wordpress.org/support/users/monteiro94/)
 * (@monteiro94)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/code-for-mobile/)
 * 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 2 years, 1 month ago by [monteiro94](https://wordpress.org/support/users/monteiro94/).

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [thehowarde](https://wordpress.org/support/users/thehowarde/)
 * (@thehowarde)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/code-for-mobile/#post-17735167)
 * It would make sense for you to provide what you’re using.
 * As shown on the main plugin page. The correct code is:
 *     ```wp-block-code
       [dd-parallax img="imagename.jpg" height="600" speed="3" z-index="-100" mobile="mobile-image.jpg" offset="true"]
       ```
   
 *  Thread Starter [monteiro94](https://wordpress.org/support/users/monteiro94/)
 * (@monteiro94)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/code-for-mobile/#post-17735350)
 * 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 2 years, 1 month ago by [monteiro94](https://wordpress.org/support/users/monteiro94/).
 *  Plugin Author [thehowarde](https://wordpress.org/support/users/thehowarde/)
 * (@thehowarde)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/code-for-mobile/#post-17735566)
 * 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](https://wordpress.org/support/users/monteiro94/)
 * (@monteiro94)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/code-for-mobile/#post-17735714)
 * 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.

 * ![](https://ps.w.org/parallax-image/assets/icon-128x128.png?rev=1627242)
 * [Parallax Image](https://wordpress.org/plugins/parallax-image/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/parallax-image/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/parallax-image/)
 * [Active Topics](https://wordpress.org/support/plugin/parallax-image/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/parallax-image/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/parallax-image/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [monteiro94](https://wordpress.org/support/users/monteiro94/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/code-for-mobile/#post-17735714)
 * Status: resolved