Hi, if you are using my plugin and have the scroll distance set to 30px you can use this code wherever you keep your css.
.she-header {
box-shadow: 10px 10px 10px red;
}
If you want to use my plugin at a different scroll distance and only have the shadow at 30px then go to your header > advanced > motion effects > effects offset > set to 30, and use this code in advanced > custom css of THAT header
selector {
transition: all 0.4s ease-in-out;
}
.selector.elementor-sticky--effects {
box-shadow: 10px 10px 10px red;
}
Let me know if this helps
Did this help? If so, I’m going to mark this resolved. Thanks
Thread Starter
Michał
(@vspyze)
Hi, first method doesnt help. I set your plugin to 30 px and added following css code. Shadow is visible instantly, instead of being showed after 30 px. How can I fix that? Thanks.
There is a link to website which I work on: https://yanoyasolution.eu/
I just looked at your site and I see the box shadow is coming from this code
.naglowek {
box-shadow: 10px 10px 10px red;
}
With your current settings, this code works on your site for me
.she-header {
box-shadow: 10px 10px 10px red;
}
I personally think this looks good on your site
.she-header {
box-shadow: 0px 0px 30px rgb(255 255 255 / 10%);
}
Let me know if you get it working. Good luck!
Thread Starter
Michał
(@vspyze)
It works, thank you!! But why only .she-header class works and other dont? I added class .naglowek in advanced settings of elementor section and it doesnt work
.she-header is the class that my plugin adds to the header at the scroll distance. So, at 30px, .she-header is applied along with it’s box shadow. The class that you addded is there all the time, so was it’s box-shadow.
I’m glad we got it figured out for you. Have a good one!
Leave a review