I am currently using the owl carousel plugin and I am struggling to figure out how to center align the navigation vertically while also using the autoHeight option.
http://codepen.io/anon/pen/jJAHL
I have attempted the following code snippet, but it seems to only retrieve the last height:
$(this_gallery).owlCarousel({
singleItem: true,
autoHeight : true,
navigation:true,
stopOnHover : true,
afterAction: function() {
var center_height = $(this_gallery).find('.owl-wrapper-outer').height();
console.log(center_height);
}
});