Skip to content

Fixed sidebar #276

Answered by onweru
LITUATUI asked this question in Q&A
Mar 23, 2022 · 2 comments · 8 replies
Discussion options

You must be logged in to vote

@LITUATUI, in my experience, if the sidebar is taller than the screen height, making it sticky works but not smoothly. There's no knob on the config to enable that. It's not that hard to implement though.

I brought up the issue of the sidebar height because in most cases, the sidebar will be taller than the client's height. In which case it would be much better to make part of the sidebar sticky.

For demo purposes, I will a recording of a site that uses this theme with its sidebar being sticky.

Screen.Recording.2022-03-25.at.18.28.16.mov

If you insist on having the entire sidebar being sticky, these are the styles you should add to your custom CSS file

// assets/sass/_custom.sass
.…

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
1 reply
@LITUATUI
Comment options

Comment options

You must be logged in to vote
7 replies
@LITUATUI
Comment options

@onweru
Comment options

onweru Mar 27, 2022
Collaborator

@LITUATUI
Comment options

@onweru
Comment options

onweru Mar 27, 2022
Collaborator

@LITUATUI
Comment options

Answer selected by LITUATUI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants