• Resolved mmgraphik

    (@mmgraphik)


    Hello, the sliders work fine on mobile but on computer on can not slide the slider with the mouse, what to do please ?

    Thanks

    • This topic was modified 3 years, 10 months ago by mmgraphik.
Viewing 15 replies - 1 through 15 (of 17 total)
  • Hi,

    Do you mean it won’t slide when you press the dots or arrows? Are you able to share a URL to the site?

    Thread Starter mmgraphik

    (@mmgraphik)

    Hello, here is the site link : https://foxmonaco.com/

    The sliders can slide from left to right on mobile without problems. On a computer they cannot be moved with the mouse.

    Okay yeah on Android itself it’s not working. I was checking in the browser on my laptop in mobile mode.

    I’m not sure how I can debug this though. My guess is it’s a conflict with another JS script that fails on mobile. Possibly an ad or analytics script?

    Can you login and check the preview area on MetaSlider? Does that work?

    Can you disable other plugins for a few moments to see if it fixes anything?

    (I might not be back online to reply until Monday)

    Thread Starter mmgraphik

    (@mmgraphik)

    Hello, thank you for your reply, it still does not work.

    Is there a possibility to add arrows on computer so that people can navigate from left to right by clicking on them and not display them on mobile / tablet ?

    Thanks, have a nice week.

    Thread Starter mmgraphik

    (@mmgraphik)

    Hello, problem solved, I duplicated the sliders to have one on mobiles without arrows and with arrows for computer.

    Last question, is it possible on the phone that when you scroll vertically it blocks the horizontal scroll?

    Thanks.

    Hi,

    For some reason I wasn’t notified of your reply in my email.

    Can you try adding this to your functions.php file?

    add_filter('metaslider_flex_slider_parameters', function ($options) {
        $options['touch'] = "false";
        return $options;
    });
    • This reply was modified 3 years, 10 months ago by Kevin Batdorf.
    Thread Starter mmgraphik

    (@mmgraphik)

    Hello, I added the code to the php file, unfortunately this completely stops the vertical scrolling and suddenly makes the slider unusable…

    Thanks

    You might need to update it to

    $options[‘touch’] = “‘false'”

    With “‘ and ‘” around false

    Thread Starter mmgraphik

    (@mmgraphik)

    Hello I just put there :

    add_filter(‘metaslider_flex_slider_parameters’, function ($options) {
    $options [‘touch’] = ?false?;
    return $options;
    });

    It makes the sliders disappear

    Can you add back the original code I sent? I just tested it and it’s workign for me.

    If you can add it now I can check the errors on your site.

    Thread Starter mmgraphik

    (@mmgraphik)

    I just added the function in the php file.

    When I check your page on my phone and desktop, both seem to work perfectly for me

    I think I may misunderstand what you want to accomplish. The code I gave you will disable the touch controls completely. If you only want to disable it while scrolling, that’s not possible unfortunately.

    Thread Starter mmgraphik

    (@mmgraphik)

    Hello yes indeed we misunderstood each other. What I want is that when I slide my slider left or right, the page stays fixed and doesn’t move up or down.

    Thanks

    Thread Starter mmgraphik

    (@mmgraphik)

    Is it possible to freeze the vertical scrolling of the page when a horizontal slider is in use?

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘slider fixe sur ordinateur’ is closed to new replies.