Skip to content

Instantly share code, notes, and snippets.

@brianleejackson
Last active October 16, 2020 14:28
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Scroll sticky sidebar WordPress widget with no jQuery
@media (min-width: 769px) {
.site-content {
display: flex;
}
.inside-right-sidebar {
height: 100%;
}
.inside-right-sidebar aside:last-child {
position: -webkit-sticky;
position: sticky;
top: 50px;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment