2014-07-23 2 views

답변

2

는 다음과 같은 percentage에 제공 나를 위해 잘 작동하고 다른 사람들을 도울 수 있습니다.

#photos .owl-nav{ 
    position: absolute; 
    top: 45%; 
    width: 100%; 
} 
#photos .owl-prev{ 
    float:left; 
} 
#photos .owl-next{ 
    float:right; 
} 
0

변경 CSS 및 다음 버튼

.owl-theme .owl-controls .owl-buttons .owl-next,.owl-theme .owl-controls .owl-buttons .owl-prev 
{ 
    top:40%; 
} 
2

을 늦게 어쩌면 조금 있지만 대신 픽셀에 topposition을주는

$(this_gallery).owlCarousel({ 
    singleItem: true, 
    autoHeight : true, 
    navigation:true, 
    // autoPlay : 2000, 
    stopOnHover : true, 
    afterAction: function() { 
    var center_height = $(this_gallery).find('.owl-wrapper-outer').height(); 
    console.log(center_height); 
    // $(this_gallery).find('.owl-buttons').css('top', center_height); 
    } 
});