I have a fixed navbar with an h1beneath it to which rellax is applied. When scrolling, the h1appears on top of the navbar. CSS z-index isn't working to fix this, so I tried applying class="rellax" data-rellax-speed="0" data-rellax-zindex="5" to the navbar, and class="rellax" data-rellax-speed="-7"` data-rellax-zindex="1" to the h1, which didn't work either. Not sure what I'm doing wrong here.
I have a fixed navbar with an h1beneath it to which rellax is applied. When scrolling, the h1appears on top of the navbar. CSS z-index isn't working to fix this, so I tried applying
class="rellax" data-rellax-speed="0" data-rellax-zindex="5"
to the navbar, andclass="rellax" data-rellax-speed="-7"` data-rellax-zindex="1"
to the h1, which didn't work either. Not sure what I'm doing wrong here.