0
我總是顯示箭頭和全屏圖標。總是顯示照片導航
問題是,按照標準懸停圖庫時會顯示圖標。我不想要這個標準,因爲這會導致無法在手機上打開全屏模式的問題。
當前我正在使用Fotorama 4.4.4。
有人可以幫我解決這個問題嗎?
我總是顯示箭頭和全屏圖標。總是顯示照片導航
問題是,按照標準懸停圖庫時會顯示圖標。我不想要這個標準,因爲這會導致無法在手機上打開全屏模式的問題。
當前我正在使用Fotorama 4.4.4。
有人可以幫我解決這個問題嗎?
在您風格將這個部分關閉CSS的地方,fotorama.css
後:
.fotorama__arr,
.fotorama__fullscreen-icon {
display: block !important;
opacity: 1 !important;
-webkit-transform: translate3d(0, 0, 0) !important;
-ms-transform: translate3d(0, 0, 0) !important;
transform: translate3d(0, 0, 0) !important;
}
.fotorama__arr--disabled {
opacity: .1 !important;
}
.fotorama__wrap--video .fotorama__arr,
.fotorama__wrap--video .fotorama__fullscreen-icon {
display: none !important;
}
現在你可以使用data-arrows="always"
謝謝!現在它可以工作。 – grunt