css - 在旋转 slider 中更改鼠标指针

标签 css wordpress html revolution-slider

我目前正在研究这个 WordPres-Template .您看到“预约”下方的按钮了吗?我不知何故需要将鼠标指针 onmouseover 更改为默认值。但是模板使用了Revolution Slider,所以我不知道把代码放在哪里。

我试过这样的:

img:hover
{
    cursor:ponter;
}

GUI of Revolution Slider

我也试过这个:

.tp-caption .lfr .tp-scrollbelowslider .start .img:hover
{
    cursor:pointer;
}

slider 的 HTML 如下所示:

<div class="tp-caption lfr tp-scrollbelowslider start" data-x="703" data-y="691" data-speed="300" data-start="500" data-easing="Power3.easeInOut" data-elementdelay="0.1" data-endelementdelay="0.1" data-endspeed="300" data-scrolloffset="0" style="z-index: 9; left: 0px; top: 200px; visibility: visible; opacity: 1; transform: translate3d(0px, 0px, 0px);"><img style="width: 0px; height: 0px;" src="http://test.de/wp-content/uploads/2016/03/whitebutton.png" alt=""> 
        </div>
<img style="width: 0px; height: 0px;" src="http://test.de/wp-content/uploads/2016/03/whitebutton.png" alt=""> 

这个选择器也不起作用:

li.tp-revslider-slidesli:nth-child(2) > div:nth-child(6) > img:nth-child(1):hover

最佳答案

cursor:pointer!important; 如果您在该特定层的Style -> Advanced CSS 选项下为所选层输入它,它将完成这项工作。

关于css - 在旋转 slider 中更改鼠标指针,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35911343/

相关文章:

jquery - 如何在点击功能中使用动画更改元素的背景颜色?

css - 需要使用 selenium 帮助的自动化 Web 测试

jQuery 问题 - 未捕获的 TypeError : Cannot read property 'browser' of undefined

php - 向 WordPress 中的所有 url 添加一些参数

html - 选择有或没有容器的第一个 parent

javascript - 使用JS将INT转换为TIME

javascript - 如何旋转和平移 html5 Canvas 路径,使最后一个点位于中心

css - 骨架框架——四栏网站

javascript - 如何在 javascript/jquery 中传递 css % 参数

php - 从 iis7 中的 wordpress URL 中删除 index.php