I already managed to add a scroll, but due to the sticky menu the title is covered. What I want to do is to stop the scroll a bit earlier, preferable on top of the column.
The first on (apps) is good. However I added an extra column with the anchor point, which isn't preferable and I hope I can fix this with an edit of the code.
Feb 17, 202010:33 AM - edited Feb 17, 202010:36 AM
Participant
Anchor point position not correct due to sticky menu
SOLVE
Thanks for your help! I appreciate that 🙂 It works exactly like I hoped it would. Let me tell you what I did:
First I added the JS with "top - 100". Then it did go smoothly to the right position, but just before the end, it jumped at the very end. So I deleted that (otherwise it would be double with the CSS option).
Then I added the CSS and then it did work. So thank you very much Narmstrong!
So for the others who are reading this. First add this to your CSS:
.the-anchor {
position: relative;
top: -100px;
}
Edit your 'regular' anchor code to this. Otherwise the CSS addition doesn't work:
Anchor point position not correct due to sticky menu
SOLVE
Thanks for your reply. Unfortunately it doesn't work 😞
Maybe good to add: we are using custom made modules which automatically add a whitespace (standard, little, non, stardard above, standard below, little above, little below). That's also why it goes automatically to the title instead of the top of the column.
Feb 17, 202010:33 AM - edited Feb 17, 202010:36 AM
Participant
Anchor point position not correct due to sticky menu
SOLVE
Thanks for your help! I appreciate that 🙂 It works exactly like I hoped it would. Let me tell you what I did:
First I added the JS with "top - 100". Then it did go smoothly to the right position, but just before the end, it jumped at the very end. So I deleted that (otherwise it would be double with the CSS option).
Then I added the CSS and then it did work. So thank you very much Narmstrong!
So for the others who are reading this. First add this to your CSS:
.the-anchor {
position: relative;
top: -100px;
}
Edit your 'regular' anchor code to this. Otherwise the CSS addition doesn't work: