• Resolved Lizzy_ILUZIE

    (@lizzy_iluzie)


    Hi there! Can you tell me if there’s a way to make sure the slider doesn’t move on a mobile phone when touched? When you’re scrolling down, it can be quite annoying if the slider responds instead of the whole screen.

    I succeeded to disable this in the past, but now the problem returned. Thanks for you help!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Kerry

    (@bluenotes)

    Hi there,

    Most likely, the area where we tackled this before was moved as the free plugin was updated last year. The idea is the same of what needs to be added to the inline JS as outlined here. Depending on which shortcode/widget you’re using this might fall into a number of places.

    v2x Shortcode [bne_testimonials layout=”slider”]
    /includes/shortcode-display.php Line 192

    v1x Shortcode [bne_testimonials_slider]
    /includes/legacy/shortcode-slider.php Line 83

    Widget Slider
    /includes/legacy/widget-slider.php Line 377

    Thread Starter Lizzy_ILUZIE

    (@lizzy_iluzie)

    Hi,

    Thank you so much for getting back to me ?? Again, you’ve saved me a lot of time. Cheers!

    • This reply was modified 6 years, 7 months ago by Lizzy_ILUZIE.
    Thread Starter Lizzy_ILUZIE

    (@lizzy_iluzie)

    I wanted to ask one more thing, is there a more durable solution than this? One that doesn’t need to be changed at each update of the plugin?

    Plugin Author Kerry

    (@bluenotes)

    I suppose you could try an invisible layer over the slider that would catch the input but leave enough space on the bottom for the nav. Maybe something like this:

    .bne-testimonial-slider-wrapper:before{
        content: "";
        background: rgba(0,0,0,0);
        position: absolute;
        width: 100%;
        height: calc(100% - 30px); // leave 30px for the bottom nav
        z-index: 9999;
    }
    
    Thread Starter Lizzy_ILUZIE

    (@lizzy_iluzie)

    Good idea ?? I’ll give that a try. Thanks again!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Disable swiping in mobile slider’ is closed to new replies.