简体   繁体   English

Slider Revolution自定义CSS无法正常工作

[英]Slider Revolution Custom Css not working

im currently setting up a new website and im working with the avada theme + slider revolution. 我目前正在建立一个新网站,并正在使用avada主题+滑块革命。 I have a Mainpage-Slider with some layer on top. 我有一个Mainpage-Slider,顶部有一些层。 I tried to set the opacity of that overlay-layers (picture) to 0.5 with a custom css code. 我尝试使用自定义的CSS代码将覆盖层(图片)的不透明度设置为0.5。

{opacity: 0.5;}

The code worked in the preview/editing window but not on the website itself. 该代码在预览/编辑窗口中有效,但在网站本身上无效。 How can I solve that problem? 我该如何解决这个问题?

Furthermore, the style display mode is the set to Block not to inline. 此外,样式显示模式已设置为“禁止内联”。 Do I cant change that?! 我不能改变吗? is that connected to the issue? 与问题有关吗?

You can best load your custom css after plugin's css. 您最好在插件的CSS之后加载自定义CSS。 This way you overwrite it. 这样,您将其覆盖。

You can also try this: 您也可以尝试以下操作:

{opacity: 0.5 !important;}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM