Elements change stack order randomly in Fullscreen Slider
I encountered a problem while using the Fullscreen Slider.
For each slide/row I want to place one image and adittionally a few lines of text in the same slide/row.
So far that worked fine. But when text and image overlap something strange happens to the stack order.
The image is sometimes displayed in front of the text and sometimes in the back. It also randomely changes. For example I would scroll to a new slide and at first, the image is in front of the text, but a second later it jumps to the back. It also happens the other way around.
I tried to figure out what causes this but had no luck so far.
Ideally I would like the text to be displayed in front of the images always but couldnt get that done with z-index.
Otherwise the Fullscreen Slider works perfectly for what I would like to do!
All plugins and laytheme are up to date and i turned of all custom code. It's still happening.
Can someone please help me with this? Or let me know if it is not possible to solve this with custom code?
when you update lay theme in like an hour, now the "layers" window will always be available for every element
you may want to try to drag and drop the layers so they have the correct zIndices
if that doesnt work can you please post a link?
@arminunruh Hey Armin, thank you!
It seems to be a Safari problem 😕
I updated and it's working in Chrome and Firefox but in Safari it's still happening.
To be honest, I don't remember in which browsers I checked before I posted the problem 🥴 Might always just have been a problem in Safari.
I made a little example page with two slides…
@arminunruh did you find the time to look at the example?
This post is deleted!
mh seems to be an issue with safari itself not respecting z-indices
use this css, which is a hack to make it work:
lmk if that works for you
Hey @arminunruh , thanks a lot!
The hack you suggested worked :)
Even better, I just did the most recent update and now it also works without the hack.
Did you work on that issue for the newest lay theme update or is it a coincidence?
I don't answer or check forum DMs, please just post on the forum.
Before you post:
Use the Search Feature. Maybe there is already a solution to your issue.
1. Update Lay Theme and all Lay Theme Addons
2. Disable all Plugins
3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
4. When using a WordPress Cache plugin, disable it or clear your cache. Now see if your problem solved itself.
Go here, see if your problem is listed here:
When you post:
1. Post a link to where the problem is
2. If the problem is difficult to explain, post screenshots / link to a video to explain it