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 issue with enabled pager (overlaying the fixed menu bar) #34

Open
SimJoSt opened this issue Jul 10, 2018 · 4 comments
Open

z-index issue with enabled pager (overlaying the fixed menu bar) #34

SimJoSt opened this issue Jul 10, 2018 · 4 comments

Comments

@SimJoSt
Copy link

SimJoSt commented Jul 10, 2018

Gravs standard theme has a fixed menu bar at the top with a z-index of 2. The pager dots have a z-index of 100 and overlay it while scrolling.

@aoloe
Copy link

aoloe commented Feb 4, 2019

Is there a workaround?

@aoloe
Copy link

aoloe commented Feb 4, 2019

resetting all z-index in my css seems to do an ok job...

/* reset the wrong z-index from the page slider */

.lSSlideWrapper .lSFade > * {
  z-index: auto;
}

.lSSlideWrapper .lSFade > *.active {
  z-index: auto;
}

.lSSlideOuter .lSPager.lSpg > li a {
}

.lSAction > a {
  z-index: auto;
}

@aoloe
Copy link

aoloe commented Feb 5, 2019

the patch above is not perfect: links in the slider are not clickable (hidden behind invisible divs)

@aoloe
Copy link

aoloe commented Feb 5, 2019

/* reset the wrong z-index from the page slider */

.lSSlideWrapper .lSFade > * {
  z-index: 10 /* 9 */;
}

.lSSlideWrapper .lSFade > *.active {
  z-index: 11 /* 10 */;
}

.lSSlideOuter .lSPager.lSpg > li a {
  z-index: 12 /* 99 */;
}

.lSAction > a {
  z-index: 13 /* 99 */;
}

/* reset the z-index from the nav */

.mobile-container {
  z-index: 14 /* 2 */;
}

.mobile-menu {
  z-index: 15 /* 3 */;
}

.mobile-menu .button_container {
  z-index: 16 /* 100 */;
}

.overlay-light, .overlay-dark, .overlay-light-gradient, .overlay-dark-gradient {
  z-index: 0 /* 0 */;
}

with the quark theme, the mobile navigation is now on top, the slider is behind it and its links do work.

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

2 participants