Fancybox left and right arrow button on the right-bottom of sliding picture

让人想犯罪 __ 提交于 2019-12-14 04:12:17

问题


Just trying to figure out how to change options of fancybox buttons to snap them on the right bottom corner of sliding images.

fancybox template example http://fiddle.jshell.net/t91p3g7s/?utm_source=website&utm_medium=embed&utm_campaign=t91p3g7s

arrows position that i want to achieve: buttons right-bottom corner


回答1:


You can force on CSS. It's simple.

Just add this css:

.fancybox-next {
    bottom: 10px;
    top: auto;
    width: 30px;
    height: 30px;
}
.fancybox-prev {
    bottom: 10px;
    top: auto;
    width: 30px;
    height: 30px;
    right: 60px;
    left: auto;
}
.fancybox-next span, .fancybox-prev span{
    visibility: visible !important;
    display: block !important;
}

Or Just click here.

http://fiddle.jshell.net/t91p3g7s/6/

:)



来源:https://stackoverflow.com/questions/39110386/fancybox-left-and-right-arrow-button-on-the-right-bottom-of-sliding-picture

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!