Slider Gallery: deactivate autoplay (mobile issue only)

  • Posted in : TheBlogger
  • sarita
    Participant

    Hi,

    Is there a way to deactivate the autoplay for the slider gallery? This issue appears only on mobile (desktop is fine).

    Please check this link http://www.kalamansijourney.ch/insel-siargao/ on mobile. Since I’d like to work with portrait and landscape format, the text is moving back and forth because of the height change.

    Thanks for your help,
    Sarah

    serkan
    Moderator

    Hi Sarah,
    You can use this custom script

    <script>
    $("#intro").owlCarousel({
    autoPlay : false,
    )}
    </script>

    Thanks

    sarita
    Participant

    Hi Serkan,

    thank you for this. But how and where do I implement this script?

    Thanks, Sarah

    serkan
    Moderator

    Hi Sarah,
    You can use the custom js codes via this kind of plugins;
    https://wordpress.org/plugins/custom-css-js/
    Thanks

    sarita
    Participant

    Hi Serkan,
    thanks for the code and the advice to install this plugin.

    However, I wasn’t able to deactivate the autoplay mode of the slider gallery on mobile devices. I did the following steps:

    – I installed the plugin Simple Custom CSS and JS
    – Then I clicked on “Add JS Code” and copied and pasted your script code in to the editor.
    – I didn’t make changes on the Options sidebar.
    – I published the Code.

    Can you please specify what I need to do, to make the magic happen?

    Many thanks for your help.
    Sarah

    serkan
    Moderator

    Hi Sarah,
    I will forward this topic to our developer and I will keep you updated.
    Thanks for your patience.

    sarita
    Participant

    Hi Serkan,

    ok, I’ll be waiting for the answer. Thanks :)
    Sarah

    ahmetsali
    Keymaster

    Hi, autoplay for gallery slider is already off by default, I have just checked your source code and tested your url on the mobile and it doesn’t autoplay on my side. Does your problem still persist?

    sarita
    Participant

    Hi ahmetsali,

    The autoplay starts as soon as the user clicks on the slider navigation button. I have uploaded the screencast here:
    https://drive.google.com/open?id=1aXizXry3I98wMhiAnLTT2dZUYOHZ_PfS

    URL: https://www.kalamansijourney.ch/dingalan-entdecken-philippinen/

    I tested chrome and safari and see the same behavior.

    Any idea how to resolve this?

    Many thanks for your help,
    Sarah

    ahmetsali
    Keymaster

    Hi again, I see the issue, I will make some tests on this issue and try to realize what causes the problem. I let you know when I come up with a solution. Thanks for the feedback.

    sarita
    Participant

    Hi again,

    Any update on this issue?

    KR, Sarah

    serkan
    Moderator

    Hi, Our developers are a little bit busy due to new updates. We are sorry for that. They will find a solution soon. Thanks for your patience.

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

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register