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