Placing sticky element in the gridder
-
Maybe because #grid has overflow:hidden; and that is why it doesn't work.
http://dinbror.dk/blog/help-css-position-sticky-doesnt-work-solved/
in your custom css write in "lay options" -> "custom html and css":
#grid{ overflow: auto; }
-
@arminunruh
Hey, thanks for the hint! I tried, but couldn't make it work anyway.
Would be really cool, to have this feature.
But I´ll keep searching. Maybe Im doin something wrong…Thank You✌️
-
-
@mariusjopen
unfortunately not.
Dis you guys make it work?Best, Daniel
-
Dear @bb_daniel
I would solve it with jQuery and not Css:
https://www.medianotions.de/webdesign-blog/jquery/sticky-header-mit-jquery/Hope that helps as well :-)
Best!
Marius
-
Hey guys,
Does anyone found something, I tried some stuff with jQuery but can't find a solution...Tried that : https://jsfiddle.net/julienfrog/p87jmj61/1/
But I let you know if I find something...Thanks in advance,
B. -
Der @Baptiste
did you have a look here?
http://laytheme.com/documentation.html#custom-javascript
Best!Marius
-
Hey @mariusjopen ,
Yes, you mean the idea of using "jQuery" instead of "$"?
Already did but I'm working on it today, hope i'll fix it.I'll let you know if I find something and let me know if you find it too.
Thanks a lot.Baptiste.
-
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