Z index fixed element
-
I have a fixed element (text) positioned with the grider as following:
.fixed-element{
position: fixed;
top: 1%;
right: 2%;
z-index: 5;
}
and this one works perfectlybut I also have a logo on the other side (image) and that one is always behind the project thumbnails doesn't matter how I set the Z index. (The selector is correct since the logo is fixed)
.fixedlogo{
position: fixed;
top: 2%;
right: 91%;
z-index: 1000000;
}
What could be wrong? -
adding 0's to z-index doesn't help ;)
i've had this issue and solved it before,
send the site url, with the code. i'll take a look.
-
@dani thanks a lot, I solved it. At the end I created custom html and css for those elements. There was a topic also about more or less the same issue and what I found out is with the gridder you basically cannot use Z-index unfortunately. But if you have a solution for that let me know :)
-
-
Thank you Marius!
-
This post is deleted!
-
hello, same problem here
the z index is in 10px and i want to be in 0
but dont know how to change it on the wordpress or in the css
could you help me? thanks -
hey i will release an update later today now that will make position fixed work again
can u update and then see if it works?
if not can you post the link here and i will take a look
Need custom programming for your Lay Theme site?
I regularly add new features to Lay Theme for free, based on user feedback. But if you or your client need something more specific, I’m happy to offer custom paid programming tailored to your project.
Email info@laytheme.com with the subject "Custom paid programming for Lay Theme" and a short description of what you need — I’ll reply with a cost estimate.
Custom features I build often make it into future Lay Theme updates, so your idea might benefit the whole community.
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