Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1422315

    justusblack
    Participant

    Hey Theme.co –

    I understand the reason for disabling parallax on mobile devices – but determining a mobile device by the presence of touch is a bad practice. So many modern laptops and desktops have touch enabled screens. You ruin a beautiful feature of Theme X on those devices while trying to avoid issues on mobile.

    I would rather mobile users have a wonky parallax experience than desktop/laptop users not have the parallax experience because their system is touch enabled.

    How can we disable the script that disables parallax? What JS files is it in and what needs to be changed?

    #1422675

    Rupok
    Member

    Hi there,

    Sorry to hear that your experience with touch device. Some hybrid device use mobile-like technology for their screens and it’s treated as mobile device by Modernizr. You can enable this back by editing some script if you badly need this – https://community.theme.co/forums/topic/modernizr-script-conflict-with-plugin-not-disabling-parallax-on-touch-devices/#post-5133

    Note : Xshortcodes is no longer available and it’s being replaced by cornerstone plugin. So you can find the code in wp-content/plugins/cornerstone/assets/js/dist/site/cs-body.js

    Thanks!