-
Notifications
You must be signed in to change notification settings - Fork 115
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
[QUESTION/HELP]Stick element below another sticky element #60
Comments
same issue...Any help? |
I did something similar for my site. What I did depends on the top element having a fixed height and then I used innerTop to offset the bottom element.
|
If this is still relevant, some jsfiddle would be helpful to understand what you're trying to do. |
Hey, I don't use this lib anymore. if it was just us three I guess it's not that common :-) Feel free to close it, still think it would be a cool feature tho. A simple example: Instead of setting a top value like "top: 80" I want to stick it relative to another element. if the "parent" element has a height of 100px it should be positioned at top:100 It should be possible to chain elements. So If a parent is also positioned relative to another element it should consider its height for all following elements: Element 1 - height: 80px - top: 0 |
Hi, am trying to stick an element below another element. I am sure this can be done with this package but I feel I do something wrong.
Can anyone help ?
Here my html
my goal:
-> sticky-navigation is top:0
-> sticky-element sticks below navigation
here is what I tried -- this.$sticky is reference to : hc-sticky
but it doesn't work.. Can anyone help ? Much appreciated !!! THX
The text was updated successfully, but these errors were encountered: