parallax not working on mobile device

Home Forums Porto – Responsive HTML5 Template parallax not working on mobile device

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10042910
    Resilient Brands
    Participant

    good morning,
    the parallax below the main slider is not working on mobile device. It just looks like a regular image.
    can you please take a look to see what might be the cause.

    thank you.



    Template Version: Demo/Restaurant
    #10042914
    Support
    Keymaster

    Hello,

    For the Scrollable Parallax you can set scrollableParallaxMinWidth to 0:

    Example:

    <section class="parallax section section-text-light section-parallax section-center py-0" data-plugin-parallax data-plugin-options="{'speed': 1.5, 'scrollableParallax': true, 'scrollableParallaxMinWidth': 0, 'startOffset': 10, 'cssProperty': 'width', 'cssValueStart': 40, 'cssValueEnd': 100, 'cssValueUnit': 'vw'}" data-image-src="img/parallax/parallax-2.jpg">........</section>

    For simple parallax you should use the option enableOnMobile:

    Example 2:

    <section class="parallax section section-parallax section-center" data-plugin-parallax data-plugin-options="{'speed': 1.5, 'enableOnMobile': true}" data-image-src="img/parallax/parallax-7.jpg">......</section>

    Please try that and let us know if you need further assistance.


Viewing 2 posts - 1 through 2 (of 2 total)

This topic is marked as "RESOLVED" and can not rceive new replies.