• Resolved oleksa

    (@oleksa)


    First of all, thank you very much for this awesome plugin. I have only one problem with it – I can’t make it adaptive height… Owl Carousel has such option, but how can I turn it on in Slide Anything?

    I’d be very greatful if you could help me. Whatever, thank you one’s more.

    The page I need help with: [log in to see the link]

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

    (@simonpedge)

    Hi, have you tried playing around with the ‘Min Height’ setting (under ‘Slide Style’ in the right-hand sidebar). You can use the ‘%’ setting to set the height to always be a percentage of the width.

    Hi Simon,

    I’m having this problem too – the height is not changing – it’s inheriting the height of the largest slide, and that’s messing up my layout. Help, please?

    Plugin Author simonpedge

    (@simonpedge)

    So you want the content below the slider to bounce up-and-down based on the height of each individual slide? Haven’t received a request to do this before (and is not something I would ever use myself as its irritating to be viewing content that’s jumping up and down).

    You can enable the Owl Carousel ‘Auto Height’ feature (see https://owlcarousel2.github.io/OwlCarousel2/demos/autoheight.html) by editing the following PHP file:
    /wp-content/plugins/slide-anything/php/slide-anything-frontend.php
    and then insert a new line on line 499 for ‘autoHeight’:

    $output .= "autoHeight: true,\n";
    $output .= "smartSpeed : ".esc_attr($slide_data['slide_transition']).",\n";
    $output .= "fluidSpeed : ".esc_attr($slide_data['slide_transition']).",\n";

    This will force all your sliders to be Auto Height.

    I’ll add this ‘Auto Height’ feature as something to include in the next realease of Slide Anything.

    This is PERFECT. Thank you! We are only loading one slide per refresh, so bouncing isn’t the problem.

    Thread Starter oleksa

    (@oleksa)

    PERFECT and GREAT) Thank you, Simon!

    Plugin Author simonpedge

    (@simonpedge)

    I’ve just added a new version of Slide Anything (version 2.1.6), which includes ‘Auto Height’ as a checkbox setting.

    Thanks Simon!

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