Cover Region Scrolling Down: Darken OR Lighten + Workaround?
-
Hi Lay Community!
As I am working on a design which is using high key images as main visuals the entire appearance is very light and clear.
Therefore I would like to change the "Darken Cover when scrolling down" option to a "Lighten Cover when scrolling down".
@mariusjopen @arminunruh I therefore would like to make a suggestion to rather changing the option to "Change Brightness when scrolling down" with a brightness (%) control compared to the one from the project thumbnail hover customizer section.
What do you think about it?
And: Is there a workaround which is quickly applied?Thanks,
C
-
Dear @monospace
to change a div class according to a scroll direction is more complex than you might think.
We recommend to ask a developer.Best!
Marius
-
Dear @mariusjopen
It’s been a time, but I want to get back because I am facing this issue again.
I think you misunderstood me here. I wanted to request a feature with the post. :)In the admin panel under the menu item "Lay Options" → "Cover Options" is the setting "Darken Cover when scrolling down".
This option darkens the cover region from 1 to 0 via the CSS filter brightness in realtion to the scrolling depth.
My suggestion was to add another option to the "Darken Cover when scrolling down" option alternatively or in addition. For example "Change opacity instead of darken the cover region".
The only difference is that now instead of "filter: brightness(var)" "opacity: var" is changed inline.This would extend the possibilities you get with the cover option:
For example, instead of darkening everything, you could hide the background image of the cover by the opacity loss. Or a color could become visible. etc.I don't know if you are open to suggestions for improvement... If so, I hope this is something other users are also looking for.
Thank you! Best
-
Dear @monospace
This is a great idea and we will write it down for the future.
Thank you very much and stay safe!!!!!!
Marius
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it