Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

z-index of divs inside <div class="slides"> #2125

Closed
smartnio opened this issue Mar 15, 2018 · 1 comment
Closed

z-index of divs inside <div class="slides"> #2125

smartnio opened this issue Mar 15, 2018 · 1 comment

Comments

@smartnio
Copy link

Hey,

just a quick question. I am currently trying to add a div <div id="Menu_Side"> inside the <div class="slides"> and trying to get it on top of everything to make it clickable. Right now, the sections and the backgrounds are always in front of the newly added element.

I tried working with the z-index but that doesn't work. I already added some new buttons inside the<aside>- tag for the controls because there i got exactly the behaviour i want. But i can't copy that technique for my new div. Is there any hidden z-index behaviour i don't see?
I attached a picture of my DOM tree.

Thanks for your time and help! :)

bildschirmfoto 2018-03-15 um 11 37 31

@smartnio
Copy link
Author

Ah okay, i think i got it.
For everyone that has the same issue: Try adding the pointer-events:all; option on your element in your css to bubble through all layers that are above it. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant