Revolution滑块正在插入背景图像URL作为undefined导致我出现问题

问题描述 投票:2回答:1

当它渲染子弹时会发生这种情况 -

这是插入class =“tp-bullet-image”的HTML,其中style =“background-image:url(”undefined“)

我搜索了.js文件和.css文件,找不到样式或它来自哪里。

似乎是为了防止滑块自动滑动 - 我无法找到这种风格的来源。

谢谢,杰夫

revolution-slider
1个回答
0
投票

要详细说明Geoff对他自己的问题的回应,必须将tmp键添加到bullets关联数组中:

 navigation: {
   bullets: {
     enable: true,
     style: 'custom',
     tmp: '',
     ...
   }
 },

Slider Revolution Documentation > Navigation Syntax > Bullets。注意:style键可以根据需要设置(不一定是custom)。

© www.soinside.com 2019 - 2024. All rights reserved.