Comments oceanwerbung started the conversationMarch 18, 2020 at 4:51pmHello, I have a big problem with FancyBox. Is there a way to disable gradient overlay WITHOUT hover? Gradient on hover i want to keep but i want to loose this dark gradient that is obstructing my images even when Im not hovering over the box. 3,022Andrew repliedMarch 18, 2020 at 5:27pmHi there,Use the following custom css in Salient > General settings > CSS/Script related: .nectar-fancy-box[data-style="hover_desc"] .box-bg:before, .nectar-fancy-box[data-style="hover_desc"]:before { background: transparent; } Hope this helps.oceanwerbung repliedMarch 19, 2020 at 9:02amThis is exactly what i needed, thank you for your help!oceanwerbung repliedMarch 19, 2020 at 12:54pmOne more question. Is it possible to make the "hover" gradient less visible? Like 50% more transparent? 3,022Andrew repliedMarch 19, 2020 at 1:12pmHi there,The following css will do the trick. .nectar-fancy-box[data-style="hover_desc"][data-color="accent-color"]:before{ background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.3) 100%); } Thanks. Sign in to reply ...
Hello,
I have a big problem with FancyBox. Is there a way to disable gradient overlay WITHOUT hover? Gradient on hover i want to keep but i want to loose this dark gradient that is obstructing my images even when Im not hovering over the box.
Hi there,
Use the following custom css in Salient > General settings > CSS/Script related:
Hope this helps.
This is exactly what i needed, thank you for your help!
One more question. Is it possible to make the "hover" gradient less visible? Like 50% more transparent?
Hi there,
The following css will do the trick.
Thanks.