Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sticky element don't stick if there's no specific container height #49

Open
wobe opened this issue Apr 22, 2015 · 1 comment
Open

sticky element don't stick if there's no specific container height #49

wobe opened this issue Apr 22, 2015 · 1 comment

Comments

@wobe
Copy link

wobe commented Apr 22, 2015

i'd like to use the sticky element as a sidebar on my blog, but since the container doesn't have a specific height in the css (because that depends on the posts' lenght) the stickyness doesn't work. how can i fix this? thanks!

@tatof
Copy link

tatof commented May 13, 2015

give the container a float left so the height is "fixed"?
I use it without a container height and it works fine!

Demo: http://devtof.nl/stick/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants