sticky
-
hi,
there are several threads about using sticky in LAY.armin suggested this:
http://stickyjs.com/JS
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.sticky/1.0.4/jquery.sticky.min.js" ></script> <script> window.laytheme.on("newpageshown", function(layoutObj, type, obj){ jQuery(".sticky").sticky({}); }); </script>
-
@dani example here: https://twigbc.ca/resources
the issue with this is z-index
i tried
jQuery(".is-sticky").css("z-index", "1000");
also
.is-sticky{ z-index:100000 !important; }
no luck
still unresolved... -
Hi, have you find a solution to this issue since then ?
I have been looking "everywhere" on internet, the problem since deeply linked with Laytheme ?
-
Dear @Sophie1000
Am i correct from your recent Thread this is solved?
http://laythemeforum.com:4567/topic/6672/sticky-element?_=1616638900292
Best wishes
Richard
-
Hi, following on this I could get the sticky element working, but I have the same problem with the z-index (text disapears behind images, etc.)
Has anybody found a solution for that?
Best,
Marius -
Hi Marius,
The sticky works, but I could not figure out how to isolate/specify the z-index of the sticky elements (so they would appear on top). Let me know if you find a solution for it! I'd love to use it.
-
@Sophie1000 Hi Sophie, there are almost some solutions, but nothing that works easily and without some little bugs... did you find anything? Please let me know. Thanks
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