如何禁用我的画廊的灯箱并改为打开主框架中的每张缩略图照片? [英] How to disable lightbox for my gallery and open each thumbnail photo in the main frame instead?
问题描述
我想为我的产品的图库禁用灯箱效果.我想改为打开主图像容器中的每张缩略图照片. (#wsite-com-product-images-main-image)
I would like to disable the lightbox effect for my product's gallery. And I would like to open each thumbnail photo in the main image container instead. (#wsite-com-product-images-main-image)
有没有简单的方法可以做到这一点?这是我页面的链接: http://poloniafoods.weebly.com /store/p9/Meat_Pierogies_%28400g%29.html
Is there an easy way to accomplish this? Here is the link to my page: http://poloniafoods.weebly.com/store/p9/Meat_Pierogies_%28400g%29.html
预先感谢, 贾斯汀.
推荐答案
在主题设计中进行了编码. EDIT The default behavior would be that the thumbnail image that is clicked, would replace the default image.
因此,请转到:
It's coded in the design of the Theme. EDIT The default behavior would be that the thumbnail image that is clicked, would replace the default image.
So, go to:
- 主题标签
- 编辑HTML/CSS
- 在Partials下,转到:
- 商务
- 然后产品
- images.tpl
- 寻找〜> w-fancybox(应该在cloud-zoom-gallery之后)
- 删除w-fancybox,保存更改并发布您的网站.
**您可能还需要进行其他一些更改.如果您使用的是自定义主题,则最好的选择是备份zip副本.然后,将您的images.tpl中的代码替换为其他主题中的代码.然后可能需要对JavaScript进行一些更改. 〜这就是我所拥有的.不能为您做所有事情,而不会在我的时间里向您收费;)
**There might be some other changes that you need to make. Your best bet would be to make a back up zip copy, if you are using a custom theme. Then replace the code in your images.tpl with one from a different theme. THEN there might some JavaScript change that you would need to alter as well. ~That's about all I got. Can't do it all for you, without charging you something for my time ;)
(请参见屏幕截图)
这篇关于如何禁用我的画廊的灯箱并改为打开主框架中的每张缩略图照片?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!