We're merging with GenerateBlocks! Learn more here.

[Support request] Carousel Vertical

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Carousel Vertical

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #23629
    Andreas
    Participant

    Hi, i need to create a carousel with post but not horizontal but vertical instead.

    #23635
    David Beckwith
    Participant

    Hi there,

    not sure how this will behave but the carousel uses Slick Slider which has vertical swiping.
    You can try enabling that with this PHP snippet:

    add_filter( 'wpsp_carousel_args', function( $args ) {
        $args['verticalSwiping'] = true;
    
        return $args;
    } );
    #23639
    Andreas
    Participant

    Hi David,

    I am going to try that and give you feedback! Thank you a lot!

    #23696
    Andreas
    Participant

    Hallo David, just tried this on my functions.php and unfortunately is not doing anything different on the slider.

    #23755
    elvin
    Moderator

    Hi,

    “verticalSwiping” is for tablets and mobile devices. For desktops add “vertical”.

    That said, try this:

    add_filter( 'wpsp_carousel_args', function( $args ) {
    	$args['verticalSwiping'] = true;
    	$args['vertical'] = true;
        return $args;
    } );
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.