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

stick to bottom #32

Open
cmpscabral opened this issue Mar 5, 2014 · 6 comments
Open

stick to bottom #32

cmpscabral opened this issue Mar 5, 2014 · 6 comments

Comments

@cmpscabral
Copy link

Is it possible to "stick" the element to the bottom of its parent? If yes, how?
Thanks!

@drakmail
Copy link

👍 doesn't found how to do this too

@StanleyMlha
Copy link

👍

1 similar comment
@zoffixznet
Copy link

+1

@Djules
Copy link

Djules commented Apr 2, 2015

The plugin adds a CSS class to the element when it becomes stuck ("is_stuck" by default).
You can clear the top value and add bottom value in your stylesheet.
e.g.

.is_stuck {
    top: auto !important;
    bottom: 0;
}

@stephenmaguireland
Copy link

I'm working on this too. I have made the following CSS change

.is_stuck {
top: auto !important;
bottom: 0;
}
However now the stuck element doesn't bottom out at the right position, it scrolls past the bottom of the parent until the top of the window passes the bottom of the parent.

My assumption is because the plugin thinks the stuck element is still in the position set by the plugin.

Any suggestions?

@simondoescode
Copy link

+1

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

7 participants