Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/ufclas/ufclas-sticky-function/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
This plugin applies the "position: sticky" style, like if you want a sidebar to stick as you scroll down the page, and measures the sibling container to prevent the sidebar overlapping the footer. Sidebar is hidden on mobile.
Here is an example of how this could be used in combination with bootstrap styles. The relevant styles to the sticky functionality are "parent-of-sticky", "sibling-of-sticky" and "sticky":
Main page content Sticky sidebar