Hi there,
I’m experimenting with custom CSS elements to create a unique parallax effect.
So, assuming that I would like to add the following custom CSS content wrapper to LayerSlider and it should remain/appear on every slide. How would I need to go about that?
Here is what I’m trying to add:
#-wrapper {
background: #cf0c2b;
-moz-transform: skew(0, -8deg);
-o-transform: skew(0, -8deg);
transform: skew(0, -8deg);
width: 100%;
margin: 0 auto;
overflow: hidden;
position: relative;
margin: -120px 0 0 0;
z-index: 1;
}
As always, I truly appreciate any help with this. Many thanks.
Hey MadRhino,
The link you provided below is not working for me. Please check it.
Best regards,
Jordan Shannon
I’m sorry Jordan. There was a space where there shouldn’t be any.
Many thanks for looking into that.
Hi,
Thanks for the update. Edit the layer and then add the css properties in the Style > Custom CSS field. You can also apply a unique id to the layer in the “Link & Attributes” panel. If you want this layer to display on every slide, make sure that the “Transition” > “Other Settings” > “Keep this layer” is set to “Forever”.
Best regards,
Ismael