从幻灯片的左侧而不是中间的位置开始缩略图 [英] Start the thumbnails from the left of the slideshow instead of the middle
本文介绍了从幻灯片的左侧而不是中间的位置开始缩略图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在Fotorama插件中,如果图像很少,则缩略图将从中心开始.我希望缩略图从左侧开始.我该怎么办?
In the Fotorama plugin, if there are few images then the thumbnails start from the center. I want the thumbnails to start from the left. How can I do this?
推荐答案
要从左侧或右侧开始缩略图,只需添加CSS代码:
To start the thumbnails from left or right, just add the CSS code:
.fotorama__nav
{
text-align: left; /*for left*/
}
.fotorama__nav
{
text-align: right; /*for right*/
}
这篇关于从幻灯片的左侧而不是中间的位置开始缩略图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文