• Resolved Ravioli

    (@riflefish1)


    Hello, first of all I would like to thank you for the great plugin, it is exactly what I was searching for! The only small problem I have, is that I want to disable the ability for users to drag their way through the pictures. The only way I want different pictures to show is through the autoplay. Is there a way, or a piece of code to disable users to drag pictures? Thank you in advance!

    Regards,

    Luc Servais

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Gareth

    (@catapult_themes)

    Hi

    In theory, I guess this would be possible but would require custom coding.

    Gareth

    Thread Starter Ravioli

    (@riflefish1)

    Hello,

    My question is not resolved yet. I tried disabling the drag with CSS, JS and jQuery, without success. Could you suggest a line of code that disables the dragging option? Thank you.

    Regards,
    Luc

    Plugin Author Gareth

    (@catapult_themes)

    Hi Luc – sorry, I marked it as resolved because it’s not really a support question, it’s more a feature request. I can’t come up with a simple line of code to achieve what you want – it requires more time than that.

    Sorry not to be more help.

    Gareth

    Thread Starter Ravioli

    (@riflefish1)

    Alright, no problem. Though, is it possible to add HTML attributes so slides or sliders, and have I overlooked this option? Or is it not possible (yet)?

    Luc

    Plugin Author Gareth

    (@catapult_themes)

    What do you mean by HTML attributes?

    Thread Starter Ravioli

    (@riflefish1)

    Like giving it a class or ID in the HTML code, so that you get something like this:
    img src=”source” id=”myImage”
    This makes it easier to select the image for adding CSS code.

    • This reply was modified 6 years, 1 month ago by Ravioli.
    Plugin Author Gareth

    (@catapult_themes)

    If you look in super-hero-slider/functions/functions.php you will see all the code for the markup. There are lots of filters you can use here.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Disable image dragging’ is closed to new replies.