-
Hi guys. What's the best way to make the sidebar for posts fixed? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
razonyang
Mar 21, 2022
Replies: 1 comment 1 reply
-
There are two options to do that. 1. Stick one widget on the sidebarSee also #404. 2. Stick the whole sidebarAppend the following CSS to .sidebar {
@include media-breakpoint-up(lg) {
height: calc(100vh - 84px);
overflow: scroll;
position: sticky;
top: 84px;
}
} |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
LITUATUI
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are two options to do that.
1. Stick one widget on the sidebar
See also #404.
2. Stick the whole sidebar
Append the following CSS to
assets/main/scss/_custom.scss
.