Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #963970

    Hi,

    I am using the Content Slider on this page: http://evoxbrainmap.com/memory-loss-biomarkers/

    On the desktop version the client wants arrow navigation and on mobile they wanted dots instead. I have created a separate Desktop and Mobile version of this element.

    The issue – when I was testing the arrow navigation on mobile the user could swipe left/right to navigate. Now that I am using the dots instead swipe navigation on mobile no longer works.

    Is this a bug or by design? Is there anyway to get swipe navigation to work with the dot navigation?

    Thanks,
    Slade

    #965212

    Hey Slade,

    Thank you for using Enfold.

    The swipe trigger is based on the next and previous arrow so the swipe functionality won’t work if these arrows are missing. You have to modify the config-templatebuilder > avishortcodes > contentslider > contentslider.php file to make these arrows display by default regardless of the options. You can toggle the visibility with css. Look for this code around line 66.

    if($navigation == 'arrows') $output .= $this->slide_navigation_arrows();
    

    Replace it with..

    $output .= $this->slide_navigation_arrows();
    

    Best regards,
    Ismael

    #1204528

    Great!
    tyvm!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Content Slider element – no mobile swipe navigation’ is closed to new replies.