images hover above the nav
-
Hello! Is there a way to let images hover above the nav?
Thanks in advance -
you mean use the imagehover addon on the navigation? no :(
-
No, it would be the images that appear on top of the navigation, i've tried with z-index but it didn't work
-
ah you mean when you scroll, you want your images to overlap the navigation
-
you would need to use this css
/* this puts the columns in the same stacking context as the nav */ .lay-content{ position: static!important; } .row{ position: static!important; } .col{ position: static!important; } /* this will put the image elements on top of the navigation */ .col.type-img{ z-index: 99!important; }
add this in:
lay options -> custom css & html -> custom css for desktopthe reason why your zindex didnt work is stacking contexts:
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_positioned_layout/Stacking_context -
please be aware this css will make row background images get placed incorrectly and may lead to other layout issues, but maybe it works out for your case
-
thanks Armin š
I also code custom websites or custom Lay features.
šæ Email me here: šæ
info@laytheme.com
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