Put widget to bottom of viewport, but not fixed

Hey folks, is there a way to stick a widget to the bottom of a viewport so that it is always a, say, 100px from the bottom of the screen no matter the resolution/size of window?

Thanks in advance

have you tried to fix your widget to the bottom?

Good point.

Let me clarify: I want to put a widget at the bottom of the viewport, but not fix it there (when I scroll down, I don’t want it to follow)

hmm I see.
well this would be possible to achieve with some custom code… CSS and JS woul dbe needed.
But it is a bit try and error to get it to work, so I cannot quickly provide you with a codesnippet.

In theory would work like this:
With JS adress your element and calculate the right position of it regarding the height of the viewport. (Viewport - height of your element = new position)

you would need to calculate it everytime the browser window resizes.

1 Like

Thanks for the response. Might be more work than it’s worth for my purposes.

Thank you again!